We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d4c3c6 commit 4e2607aCopy full SHA for 4e2607a
packages/compiler-sfc/__tests__/compileScript/resolveType.spec.ts
@@ -455,11 +455,11 @@ describe('resolveType', () => {
455
})
456
457
describe('external type imports', () => {
458
- const files = {
459
- '/foo.ts': 'export type P = { foo: number }',
460
- '/bar.d.ts': 'type X = { bar: string }; export { X as Y }'
461
- }
462
test('relative ts', () => {
+ const files = {
+ '/foo.ts': 'export type P = { foo: number }',
+ '/bar.d.ts': 'type X = { bar: string }; export { X as Y }'
+ }
463
const { props, deps } = resolve(
464
`
465
import { P } from './foo'
0 commit comments