Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.

Commit

Permalink
fix: Don't import from typescript source files (#125)
Browse files Browse the repository at this point in the history
Importing from typescript source files distributed with a module causes user projects to type check those source files using the tsconfig of the user project rather than that of the module, with stricter settings raising errors that would otherwise go unnoticed.

See microsoft/TypeScript#40426
  • Loading branch information
shadow-light authored Aug 21, 2021
1 parent 77d7baf commit d05f74d
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
@@ -1,4 +1,4 @@
import { TemplateCompileOptions } from '@vue/component-compiler-utils/lib/compileTemplate'
import { TemplateCompileOptions } from '@vue/component-compiler-utils'
import { normalizeComponentCode } from './utils/componentNormalizer'
import { vueHotReloadCode } from './utils/vueHotReload'
import fs from 'fs'
Expand Down

0 comments on commit d05f74d

Please sign in to comment.