Skip to content

Commit

Permalink
Replace satisfies with as
Browse files Browse the repository at this point in the history
`satisfies` is unfortunately only introduced in TS 4.9.
  • Loading branch information
RichDom2185 committed Sep 10, 2023
1 parent cb8226e commit aca7039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transpiler/transpiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export async function transformImportDeclarations(
})
)

return [moduleName, { text, nodes: declNodes, namespaced }] satisfies [
return [moduleName, { text, nodes: declNodes, namespaced }] as [
string,
{
text: string
Expand Down

0 comments on commit aca7039

Please sign in to comment.