mirror of
https://github.com/coder/code-server.git
synced 2024-11-26 03:01:34 +03:00
plugin.d.ts -> pluginapi.d.ts
More clear.
This commit is contained in:
parent
6638daf6f0
commit
fed545e67d
@ -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!")
|
||||
|
Loading…
Reference in New Issue
Block a user