Nuxt/test/fixtures/basic/composables/badSideEffect.ts

6 lines
117 B
TypeScript
Raw Permalink Normal View History

export function badSideEffect () {
// ...
}
throw new Error('composables/badSideEffect.ts should be tree-shaked')