|
| 1 | +*What:* |
| 2 | +We want to step our TS game in the monorepo and enable strict typescript in all packages! |
| 3 | + |
| 4 | +*Why:* |
| 5 | +Having TS track for you if a variable might be null or not, enables us to code with much more confidence, |
| 6 | +and also gives us quick in editor feedback, when you make assumptions that are not actually true! |
| 7 | + |
| 8 | +*How:* |
| 9 | +We would like to change as little as possible of the actual runtime behavior in this migration. |
| 10 | +However, we also don't want to simply silence the compiler everywhere with `!`, `as` or `ts-ignore` to get this migration in. |
| 11 | +As a rule of thumb, if the logic is easy enough, prefer improving the code (e.g. add a null check) over silencing the compiler. |
| 12 | +If the change needed to do the right thing, is too risky, and not in your expertise, it is okay to silence the compiler. |
| 13 | +It is not ideal, but we still gain the benefit that new code written will have extra typesafety. |
| 14 | + |
| 15 | +Feel free to contribute too any of packages in the list below! |
| 16 | + |
| 17 | +- [ ] @storybook/addon-backgrounds |
| 18 | +- [ ] @storybook/addon-docs |
| 19 | +- [ ] @storybook/addon-highlight |
| 20 | +- [ ] @storybook/addon-interactions |
| 21 | +- [ ] @storybook/addon-jest |
| 22 | +- [ ] @storybook/addon-mdx-gfm |
| 23 | +- [ ] @storybook/addon-measure |
| 24 | +- [ ] @storybook/addon-outline |
| 25 | +- [ ] @storybook/addon-storyshots |
| 26 | +- [ ] @storybook/addon-storyshots-puppeteer |
| 27 | +- [ ] @storybook/addon-storysource |
| 28 | +- [ ] @storybook/addon-viewport |
| 29 | +- [ ] @storybook/addons |
| 30 | +- [ ] @storybook/angular |
| 31 | +- [ ] @storybook/api |
| 32 | +- [ ] @storybook/blocks |
| 33 | +- [ ] @storybook/channel-postmessage |
| 34 | +- [ ] @storybook/channel-websocket |
| 35 | +- [ ] @storybook/channels |
| 36 | +- [ ] @storybook/cli |
| 37 | +- [ ] @storybook/client-api |
| 38 | +- [ ] @storybook/codemod |
| 39 | +- [ ] @storybook/components |
| 40 | +- [ ] @storybook/core-client |
| 41 | +- [ ] @storybook/core-events |
| 42 | +- [ ] @storybook/core-server |
| 43 | +- [ ] @storybook/csf-tools |
| 44 | +- [ ] @storybook/docs-tools |
| 45 | +- [ ] @storybook/external-docs |
| 46 | +- [ ] @storybook/html-vite |
| 47 | +- [ ] @storybook/instrumenter |
| 48 | +- [ ] @storybook/manager |
| 49 | +- [ ] @storybook/manager-api |
| 50 | +- [ ] @storybook/postinstall |
| 51 | +- [ ] @storybook/preact-vite |
| 52 | +- [ ] @storybook/preset-create-react-app |
| 53 | +- [ ] @storybook/preset-vue-webpack |
| 54 | +- [ ] @storybook/preset-vue3-webpack |
| 55 | +- [ ] @storybook/react-vite |
| 56 | +- [ ] @storybook/router |
| 57 | +- [ ] @storybook/scripts |
| 58 | +- [ ] @storybook/server |
| 59 | +- [ ] @storybook/source-loader |
| 60 | +- [ ] @storybook/svelte-vite |
| 61 | +- [ ] @storybook/sveltekit |
| 62 | +- [ ] @storybook/theming |
| 63 | +- [ ] @storybook/types |
| 64 | +- [ ] @storybook/vue3-vite |
| 65 | +- [ ] @storybook/vue3-webpack5 |
| 66 | +- [ ] @storybook/web-components |
| 67 | +- [ ] @storybook/web-components-vite |
0 commit comments