Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
KostkaBrukowa committed Apr 26, 2024
1 parent 02295ba commit fadba6a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/plugin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@ import {
} from './utils';
import * as ts from 'typescript/lib/tsserverlibrary';

const init: ts.server.PluginModuleFactory = ({ typescript }) => {
const init: ts.server.PluginModuleFactory = () => {
function create(info: PluginInfo) {
const proxy = setupLanguageServiceProxy(info);

const strictLanguageServiceHost = setupStrictLanguageServiceHostProxy(info);
const strictLanguageService = typescript.createLanguageService(strictLanguageServiceHost);
strictLanguageService.getProgram();
const strictLanguageService = ts.createLanguageService(strictLanguageServiceHost);

log(info, 'Plugin initialized');

Expand Down

0 comments on commit fadba6a

Please sign in to comment.