Skip to content

Commit

Permalink
fix(api): remove typescript import
Browse files Browse the repository at this point in the history
  • Loading branch information
mxsdev committed Nov 9, 2022
1 parent 95035f2 commit acfe537
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/api/src/util.ts
@@ -1,6 +1,6 @@
import assert = require("assert")
import nodeTest from "node:test"
import * as ts from "typescript"
import type * as ts from "typescript"
import {
wrapSafe,
isEmpty,
Expand Down Expand Up @@ -945,7 +945,7 @@ export function isReadonlySymbol(
}

export function getAliasedSymbol(
{ typeChecker }: TypescriptContext,
{ typeChecker, ts }: TypescriptContext,
symbol: ts.Symbol
) {
if (!(symbol.flags & ts.SymbolFlags.Alias)) return undefined
Expand Down

0 comments on commit acfe537

Please sign in to comment.