Evan You
|
fe9760188d
refactor(compiler-sfc): remove useless type generation
|
3 ani în urmă |
三咲智子 Kevin Deng
|
14f3d747a3
feat(sfc): introduce `defineModel` macro and `useModel` helper (#8018)
|
3 ani în urmă |
三咲智子 Kevin Deng
|
f7f4624191
fix(compiler-sfc): fix binding type for constants when hoistStatic is disabled (#8029)
|
3 ani în urmă |
-isum
|
3ccbea08e0
fix(compiler-sfc): accept `StringLiteral` node in `defineEmit` tuple syntax (#8041)
|
3 ani în urmă |
三咲智子 Kevin Deng
|
955752951e
fix(compiler-sfc): skip empty `defineOptions` and support TypeScript type assertions (#8028)
|
3 ani în urmă |
三咲智子 Kevin Deng
|
5a2f5d59cf
feat(types/slots): support slot presence / props type checks via `defineSlots` macro and `slots` option (#7982)
|
3 ani în urmă |
Evan You
|
482f2e3434
fix(compiler-sfc): use dynamic defaults merging for methods with computed keys
|
3 ani în urmă |
Evan You
|
fe619443d2
feat(compiler-sfc): support arbitrary expression as withDefaults argument
|
3 ani în urmă |
Evan You
|
f5971468e5
refactor(compiler-sfc): remove unnecessary emits type codegen
|
3 ani în urmă |
Evan You
|
ef73ea53ea
feat(compiler-sfc): codegen support for defineEmits() short syntax (followup of #7992)
|
3 ani în urmă |
Evan You
|
71635be68d
feat(compiler-sfc): support generating variable instead of default export in compileScript
|
3 ani în urmă |
Evan You
|
a94072dd2c
fix(compiler-sfc): fix defineExpose() codegen regression from #7949
|
3 ani în urmă |
三咲智子 Kevin Deng
|
63ad77f6f6
feat(runtime-core): add skipCheck for prop (#7548)
|
3 ani în urmă |
三咲智子 Kevin Deng
|
c839129ab9
fix(compiler-sfc): avoid codegen conflict with user variable named `expose` (#7949)
|
3 ani în urmă |
Evan You
|
eded94712e
feat(compiler-sfc): improve runtime props inference for enum
|
3 ani în urmă |
Evan You
|
5fb406e3e1
fix(compiler-sfc): properly handle unknown types in runtime prop inference
|
3 ani în urmă |
Evan You
|
6f5698c932
Revert "fix(compiler-sfc): infer correct type for enums"
|
3 ani în urmă |
Evan You
|
2e074a7009
fix(compiler-sfc): infer correct type for enums
|
3 ani în urmă |
三咲智子 Kevin Deng
|
0002567728
feat(compiler-sfc): support module string names syntax (#7428)
|
3 ani în urmă |
三咲智子 Kevin Deng
|
d60e58c9f6
fix(compiler-sfc): fix edge case of default export call with no args (#7536)
|
3 ani în urmă |
三咲智子 Kevin Deng
|
336a3d7b91
fix(compiler-sfc): properly remove comma of multiple macros in the same declaration (#7423)
|
3 ani în urmă |
三咲智子 Kevin Deng
|
9f5e20ccff
fix(compiler-sfc): allow `<script>` with lang='js' (#7398)
|
3 ani în urmă |
Evan You
|
4355d2492d
fix(compiler-sfc): handle more TS built-in utilities in defineProps inference
|
3 ani în urmă |
三咲智子 Kevin Deng
|
151a8ad6b9
fix(compiler-sfc): infer TSIntersectionType in defineProps (#7394)
|
3 ani în urmă |
三咲智子 Kevin Deng
|
1b69d5f2f4
fix(compiler-sfc): unwrap TS node for defineProps (#7340)
|
3 ani în urmă |
三咲智子 Kevin Deng
|
6391daf658
fix(compiler-sfc): infer TS Extract&Exclude runtime type (#7339)
|
3 ani în urmă |
三咲智子 Kevin Deng
|
3a7572cdb2
fix(compiler-sfc): infer function prop type from type literal w/ callable signature (#7119)
|
3 ani în urmă |
三咲智子 Kevin Deng
|
7def8b15b8
feat(complier-sfc): hoist literal constants for script (#5752)
|
3 ani în urmă |
三咲智子 Kevin Deng
|
bcf5841dde
feat(compiler-sfc): add defineOptions macro (#5738)
|
3 ani în urmă |
edison
|
30399d46b1
fix(compiler-sfc): support resolving type declaration from normal script (#5831)
|
3 ani în urmă |