mirror of
https://github.com/cdr/code-server.git
synced 2025-12-06 16:34:35 +01:00
plugin.d.ts -> pluginapi.d.ts
More clear.
This commit is contained in:
parent
6638daf6f0
commit
fed545e67d
3 changed files with 3 additions and 3 deletions
|
|
@ -3,7 +3,7 @@ import * as express from "express"
|
|||
import * as fs from "fs"
|
||||
import * as path from "path"
|
||||
import * as semver from "semver"
|
||||
import * as pluginapi from "../../typings/plugin"
|
||||
import * as pluginapi from "../../typings/pluginapi"
|
||||
import { version } from "./constants"
|
||||
import * as util from "./util"
|
||||
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.
|
||||
*/
|
||||
export class PluginAPI {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import * as express from "express"
|
||||
import * as path from "path"
|
||||
import * as pluginapi from "../../../typings/plugin"
|
||||
import * as pluginapi from "../../../typings/pluginapi"
|
||||
|
||||
export function init(config: pluginapi.PluginConfig) {
|
||||
config.logger.debug("test-plugin loaded!")
|
||||
|
|
|
|||
0
typings/plugin.d.ts → typings/pluginapi.d.ts
vendored
0
typings/plugin.d.ts → typings/pluginapi.d.ts
vendored
Loading…
Reference in a new issue