mirror of https://github.com/vuejs/core.git
chore: limit typescript lib to es2016 (#10164)
* chore: limit typescript lib to es2015 * chore: set target to es2015 * chore: update
This commit is contained in:
parent
822cb72e01
commit
a24809fbd2
|
@ -21,6 +21,7 @@ describe.skipIf(!global.gc)('reactivity/gc', () => {
|
|||
// #9233
|
||||
it('should release computed cache', async () => {
|
||||
const src = ref<{} | undefined>({})
|
||||
// @ts-expect-error ES2021 API
|
||||
const srcRef = new WeakRef(src.value!)
|
||||
|
||||
let c: ComputedRef | undefined = computed(() => src.value)
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
"esModuleInterop": true,
|
||||
"removeComments": false,
|
||||
"jsx": "preserve",
|
||||
"lib": ["esnext", "dom"],
|
||||
"lib": ["es2016", "dom"],
|
||||
"types": ["vitest/globals", "puppeteer", "node"],
|
||||
"rootDir": ".",
|
||||
"paths": {
|
||||
|
|
Loading…
Reference in New Issue