vue3-core/packages/runtime-core/src
Daniel Rosenwasser 516fabb725
fix(types): propagate type parameter constraints for TypeScript 4.8 (#6351)
* fix(types): propagate type parameter constraints for TypeScript 4.8

* fix: add more constraints

---------

Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-07-09 13:04:08 +08:00
..
compat fix(custom-elements): use strict number casting 2022-11-14 16:20:12 +08:00
components fix(suspense): handle nested sync suspense for hydration 2023-05-11 08:47:01 +01:00
helpers refactor(runtime-core): use Symbol.for for runtime Symbols 2023-02-21 17:42:06 +08:00
apiAsyncComponent.ts chore: remove unnecessary type assertions (#8311) 2023-05-19 07:49:28 +08:00
apiComputed.ts chore: remove unnecessary type assertions (#8311) 2023-05-19 07:49:28 +08:00
apiCreateApp.ts fix(types): propagate type parameter constraints for TypeScript 4.8 (#6351) 2023-07-09 13:04:08 +08:00
apiDefineComponent.ts fix(build): retain defineComponent() treeshakability in Rollup 2023-05-08 12:12:15 +08:00
apiInject.ts fix(types): retain compatibility for provide() usage with explicit type parameter 2023-05-02 21:35:28 +08:00
apiLifecycle.ts wip(vitest-migration): reactivity tests passing 2023-01-26 15:25:55 +08:00
apiSetupHelpers.ts chore: typo (#8345) [ci skip] 2023-05-19 07:59:09 +08:00
apiWatch.ts chore: remove unnecessary type assertions (#8311) 2023-05-19 07:49:28 +08:00
component.ts chore: fix typo (#7693) 2023-06-10 17:17:41 +08:00
componentEmits.ts chore: remove unnecessary type assertions (#8311) 2023-05-19 07:49:28 +08:00
componentOptions.ts chore: remove unnecessary type assertions (#8311) 2023-05-19 07:49:28 +08:00
componentProps.ts feat(types): provide ExtractPublicPropTypes utility type 2023-05-02 11:06:32 +08:00
componentPublicInstance.ts chore: rename globals allow list 2023-05-26 11:07:13 -05:00
componentRenderContext.ts fix(runtime-core): ensure that errors in slot function execution do not affect block tracking (#5670) 2022-10-14 04:08:32 -04:00
componentRenderUtils.ts refactor(runtime-core): extract type SetRootFn (#3209) 2022-05-13 04:48:20 -04:00
componentSlots.ts fix(types): remove short syntax support in defineSlots() 2023-05-08 11:53:49 +08:00
customFormatter.ts feat(reactivity): add isShallow api 2022-01-18 09:22:41 +08:00
devtools.ts chore: fix typo (#8732) [ci skip] 2023-07-09 13:03:30 +08:00
directives.ts fix(types): propagate type parameter constraints for TypeScript 4.8 (#6351) 2023-07-09 13:04:08 +08:00
enums.ts wip(vitest-migration): reactivity tests passing 2023-01-26 15:25:55 +08:00
errorHandling.ts wip(vitest-migration): reactivity tests passing 2023-01-26 15:25:55 +08:00
featureFlags.ts chore: fix some typos (#5050) [ci skip] 2021-12-11 20:58:46 -05:00
h.ts feat(types/slots): support slot presence / props type checks via `defineSlots` macro and `slots` option (#7982) 2023-04-03 16:49:16 +08:00
hmr.ts chore: remove unnecessary type assertions (#8311) 2023-05-19 07:49:28 +08:00
hydration.ts fix(ssr): fix hydration mismatch when entire multi-root template is stringified 2022-09-28 09:33:17 +08:00
index.ts feat(types): provide ExtractPublicPropTypes utility type 2023-05-02 11:06:32 +08:00
profiling.ts fix(devtools): perf: use high-resolution time 2022-03-09 14:30:24 +01:00
renderer.ts fix(types): propagate type parameter constraints for TypeScript 4.8 (#6351) 2023-07-09 13:04:08 +08:00
rendererTemplateRef.ts fix(runtime-core): fix v-for ref reactivity behavior difference between prod and dev (#6714) 2022-10-14 05:23:01 -04:00
scheduler.ts fix(runtime-core): avoid double firing when mounting inside a watcher callback 2022-09-08 09:59:51 +08:00
vnode.ts fix(types): propagate type parameter constraints for TypeScript 4.8 (#6351) 2023-07-09 13:04:08 +08:00
warning.ts chore: fix assertNumber for undefined value 2022-11-14 16:57:44 +08:00