Add types to homepage / home-nav / modal signin window
Opened this issue · 0 comments
brecke commented
For future reference, here are some resources on the decision not to go with typescript but instead JSDoc TS:
Articles with good points
- https://medium.com/@tomas.sivicki/this-article-is-so-polarising-i-have-to-respond-6acaa8a81c44
- https://dev.to/jfbrennan/the-reasons-i-don-t-use-typescript-2fhb
- https://javascript.plainenglish.io/7-really-good-reasons-not-to-use-typescript-166af597c466
- https://medium.com/javascript-scene/the-typescript-tax-132ff4cb175b
- https://dev.to/rtorr/typescript-without-typescript-kg8
JSDoc TS resources
- https://medium.com/@trukrs/type-safe-javascript-with-jsdoc-7a2a63209b76
- https://medium.com/@trukrs/javascript-type-linting-5903e9e3625f
- https://jsdoc.app/
- https://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html
Cheatsheets
import * as MyTypes from '../types';
/**
* @typedef {MyTypes.Person} Person
*/