diff --git a/packages/twoslash-cdn/src/index.ts b/packages/twoslash-cdn/src/index.ts index 4f41cd2..0412768 100644 --- a/packages/twoslash-cdn/src/index.ts +++ b/packages/twoslash-cdn/src/index.ts @@ -1,6 +1,6 @@ import type { TwoslashExecuteOptions, TwoslashFunction, TwoslashOptions, TwoslashReturn } from 'twoslash' import { createTwoslasher } from 'twoslash' -import * as ts from 'typescript/lib/tsserverlibrary' +import ts from 'typescript' import { createDefaultMapFromCDN } from '@typescript/vfs' import { setupTypeAcquisition } from '@typescript/ata' diff --git a/packages/twoslash/test/new.test.ts b/packages/twoslash/test/new.test.ts index a6a2e77..3a677d3 100644 --- a/packages/twoslash/test/new.test.ts +++ b/packages/twoslash/test/new.test.ts @@ -1,5 +1,5 @@ import { expect, it } from 'vitest' -import * as ts from 'typescript/lib/tsserverlibrary' +import ts from 'typescript' import { splitFiles } from '../src/utils' import type { TwoslashReturn } from '../src/types' import { twoslasher } from '../src'