Evan You
|
4af5d1b075
feat(sfc): revert withDefaults() deprecation
|
3 years ago |
Evan You
|
f5971468e5
refactor(compiler-sfc): remove unnecessary emits type codegen
|
3 years ago |
Evan You
|
ef73ea53ea
feat(compiler-sfc): codegen support for defineEmits() short syntax (followup of #7992)
|
3 years ago |
Evan You
|
71635be68d
feat(compiler-sfc): support generating variable instead of default export in compileScript
|
3 years ago |
三咲智子 Kevin Deng
|
ba4cec31b9
fix(compiler-sfc): infer runtime type in defineProps (#7972)
|
3 years ago |
Evan You
|
ba9c2ae247
feat(compiler-sfc): enable reactive props destructure by default and deprecate withDefaults() (#7986)
|
3 years ago |
Evan You
|
e10a89e608
fix(compiler-sfc): fix function default value handling w/ props destructure
|
3 years ago |
Evan You
|
1a04fba10b
fix(compiler-sfc): infer object type for empty type literal
|
3 years ago |
Evan You
|
a94072dd2c
fix(compiler-sfc): fix defineExpose() codegen regression from #7949
|
3 years ago |
三咲智子 Kevin Deng
|
63ad77f6f6
feat(runtime-core): add skipCheck for prop (#7548)
|
3 years ago |
Evan You
|
1bde9fbc91
chore: fix accidentally replaced comments [ci skip]
|
3 years ago |
三咲智子 Kevin Deng
|
c839129ab9
fix(compiler-sfc): avoid codegen conflict with user variable named `expose` (#7949)
|
3 years ago |
三咲智子 Kevin Deng
|
93f77292c9
fix(compiler-sfc): disallow `expose` property in `defineOptions` (#7967)
|
3 years ago |
Evan You
|
eded94712e
feat(compiler-sfc): improve runtime props inference for enum
|
3 years ago |
Evan You
|
5fb406e3e1
fix(compiler-sfc): properly handle unknown types in runtime prop inference
|
3 years ago |
Evan You
|
6f5698c932
Revert "fix(compiler-sfc): infer correct type for enums"
|
3 years ago |
Evan You
|
2e074a7009
fix(compiler-sfc): infer correct type for enums
|
3 years ago |
三咲智子 Kevin Deng
|
0002567728
feat(compiler-sfc): support module string names syntax (#7428)
|
3 years ago |
三咲智子 Kevin Deng
|
d60e58c9f6
fix(compiler-sfc): fix edge case of default export call with no args (#7536)
|
3 years ago |
三咲智子 Kevin Deng
|
336a3d7b91
fix(compiler-sfc): properly remove comma of multiple macros in the same declaration (#7423)
|
3 years ago |
三咲智子 Kevin Deng
|
9f5e20ccff
fix(compiler-sfc): allow `<script>` with lang='js' (#7398)
|
3 years ago |
Evan You
|
4355d2492d
fix(compiler-sfc): handle more TS built-in utilities in defineProps inference
|
3 years ago |
三咲智子 Kevin Deng
|
151a8ad6b9
fix(compiler-sfc): infer TSIntersectionType in defineProps (#7394)
|
3 years ago |
三咲智子 Kevin Deng
|
1b69d5f2f4
fix(compiler-sfc): unwrap TS node for defineProps (#7340)
|
3 years ago |
三咲智子 Kevin Deng
|
6391daf658
fix(compiler-sfc): infer TS Extract&Exclude runtime type (#7339)
|
3 years ago |
三咲智子 Kevin Deng
|
3a7572cdb2
fix(compiler-sfc): infer function prop type from type literal w/ callable signature (#7119)
|
3 years ago |
三咲智子 Kevin Deng
|
701b95ff3d
fix(compiler-sfc): rewrite default export with AST analysis instead of regex (#7068)
|
3 years ago |
三咲智子 Kevin Deng
|
7def8b15b8
feat(complier-sfc): hoist literal constants for script (#5752)
|
3 years ago |
三咲智子 Kevin Deng
|
bcf5841dde
feat(compiler-sfc): add defineOptions macro (#5738)
|
3 years ago |
Evan You
|
efb54e7315
feat(sfc): deprecate reactivity transform
|
3 years ago |