litt
litt copied to clipboard
Add strict-as-you-can type checking to litt using TypeScript
Another easy fun activity for Hacktoberfest. Lets see litt be type safe :D
Hi, I'd love to work on this. what do you exactly want?
Exactly as it says in the title. Add type definition, types to litt ,and try to make use of many TypeScript utilities.
I can work on it but TS will yell about the fact there is nothing exported and all variables are not declared.
Maybe we can add a build step using sed 's/(const|let|var|export)\s//'
to remove declaration keywords.
It is ok to modify it to be TS compliant. 👍 Yes add a npm script to build this TS version.
On Oct 9, 2017 2:44 PM, "Quentin Gerodel" [email protected] wrote:
I can work on it but TS will yell about the fact there is nothing exported and all variables are not declared. Maybe we can add a build step using sed 's/(const|let|var|export)\s//' to remove declaration keywords.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lf94/litt/issues/3#issuecomment-335251911, or mute the thread https://github.com/notifications/unsubscribe-auth/AAhcU2a5-OcvLkqlcc7D_7oFB0ZzP_bGks5sqmmIgaJpZM4PnpoX .