Commit aabddae
committed
refactor(core): type createIdentityTagger's frameworkName as FrameworkName
The enum was decorative for the framework packages: they passed a member into a
plain `string` parameter, so nothing stopped a package inventing its own value
for the attribute the backend keys off. Typing it closes that.
Verified the constraint bites: passing 'Vue' now fails with
"Type '"Vue"' is not assignable to type 'FrameworkName'. Did you mean '"vue"'?"1 parent 90f55f6 commit aabddae
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
14 | 20 | | |
15 | 21 | | |
16 | 22 | | |
| |||
0 commit comments