Archived
1
0

plugin.d.ts -> pluginapi.d.ts

More clear.
This commit is contained in:
Anmol Sethi 2020-11-03 17:13:21 -05:00
parent 6638daf6f0
commit fed545e67d
No known key found for this signature in database
GPG Key ID: 8CEF1878FF10ADEB
3 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ import * as express from "express"
import * as fs from "fs" import * as fs from "fs"
import * as path from "path" import * as path from "path"
import * as semver from "semver" import * as semver from "semver"
import * as pluginapi from "../../typings/plugin" import * as pluginapi from "../../typings/pluginapi"
import { version } from "./constants" import { version } from "./constants"
import * as util from "./util" import * as util from "./util"
const fsp = fs.promises const fsp = fs.promises
@ -30,7 +30,7 @@ interface Application extends pluginapi.Application {
} }
/** /**
* PluginAPI implements the plugin API described in typings/plugin.d.ts * PluginAPI implements the plugin API described in typings/pluginapi.d.ts
* Please see that file for details. * Please see that file for details.
*/ */
export class PluginAPI { export class PluginAPI {

View File

@ -1,6 +1,6 @@
import * as express from "express" import * as express from "express"
import * as path from "path" import * as path from "path"
import * as pluginapi from "../../../typings/plugin" import * as pluginapi from "../../../typings/pluginapi"
export function init(config: pluginapi.PluginConfig) { export function init(config: pluginapi.PluginConfig) {
config.logger.debug("test-plugin loaded!") config.logger.debug("test-plugin loaded!")