Skip to content

Commit

Permalink
use API services.register
Browse files Browse the repository at this point in the history
  • Loading branch information
chemzqm committed Mar 26, 2024
1 parent 53d68f9 commit 7589058
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export async function activate(context: ExtensionContext): Promise<API> {
let { subscriptions } = context
const pluginManager = new PluginManager()
const service = new TsserverService(pluginManager, context)
subscriptions.push(services.regist(service))
subscriptions.push(services.register(service))

return {
configurePlugin: (pluginId: string, configuration: {}): void => {
Expand Down

0 comments on commit 7589058

Please sign in to comment.