Skip to content

Instantly share code, notes, and snippets.

@stereobooster
Last active January 16, 2018 20:09
Show Gist options
  • Save stereobooster/d06edc7594f93e6d1f95ffb78e652e40 to your computer and use it in GitHub Desktop.
Save stereobooster/d06edc7594f93e6d1f95ffb78e652e40 to your computer and use it in GitHub Desktop.
https://github.com/google/closure-compiler/wiki/Types-in-the-Closure-Type-System
React.propTypes https://github.com/facebookincubator/create-react-app/issues/209
https://github.com/clojure/clojurescript/wiki/Compile-Time-Type-Checking#type-resolution
is it ready? https://reasonablytyped.github.io/ReasonablyTyped/
https://flow.org/blog/2016/10/13/Flow-Typed/
https://github.com/flowtype/flow-typed/issues/1220
https://github.com/flowtype/flow-typed/issues/1494
http://www.jsnice.org/
---
flow-typed install react-i18next
-> read package.json, figure out version of react-i18next
-> if no version, try to fetch node_modules/react-i18next/package.json
-> if no version, fail
-> flow-typed install react-i18next@version
-> if no defintion try to fetch definition from definetlyTyped and convert
-> if no definition or failed to convert, try generate definitions from jsdoc
-> if no definitions generate stub
https://www.npmjs.com/package/types-installer
https://github.com/Microsoft/types-publisher
https://github.com/DefinitelyTyped/DefinitelyTyped
---
https://github.com/google/closure-compiler/wiki/ECMAScript6
https://github.com/google/closure-compiler/wiki/Annotating-JavaScript-for-the-Closure-Compiler#struct
https://github.com/roman01la/webpack-closure-compiler
https://github.com/google/closure-compiler/wiki/Types-in-the-Closure-Type-System
https://github.com/google/closure-compiler/wiki/Using-JSDoc-Annotations-with-Closure-compiler
https://github.com/sagifogel/typescript-closure-compiler
https://github.com/angular/tsickle
https://github.com/gajus/eslint-plugin-flowtype
https://www.npmjs.com/package/eslint-plugin-jsdoc
http://2ality.com/2017/02/babel-preset-env.html
https://github.com/babel/babel/blob/master/packages/babel-plugin-transform-flow-strip-types/src/index.js
---
documentation
https://blog.scottnonnenberg.com/better-docs-and-static-analysis/
---
bundle structure
https://github.com/facebookincubator/create-react-app/issues/2737
https://survivejs.com/webpack/optimizing/build-analysis/
https://medium.com/@joeclever/three-simple-ways-to-inspect-a-webpack-bundle-7f6a8fe7195d
---
https://github.com/documentationjs/documentation
https://bundlephobia.com/
https://github.com/esdoc/esdoc-plugins
https://npms.io/
---
http://djcordhose.github.io/flow-vs-typescript/elm-flow-typescript.html#/11
https://www.destroyallsoftware.com/compendium/types?share_key=baf6b67369843fa2
http://2ality.com/2013/09/types.html
https://medium.com/fhinkel/runtime-type-information-for-javascript-b134faac3c0a
https://gist.github.com/niieani/af8a8c8b572268551e5a3a1fc0c6bdca
https://github.com/niieani/typescript-vs-flowtype
### null case
https://flow.org/try/#0GYVwdgxgLglg9mABAIwIYCcAUw5wFyID8AzlOjGAOYCUiA3gFCIzCLa6IC8niYIANv1roAplBDowAbiajxkxDjgA6fiKpQAFjIC+DNFgBEAR0PUZBzOaA
vs
https://www.typescriptlang.org/play/#src=%2F**%0D%0A%20*%20%40param%20foo%20%7Bstring%20%7C%20null%20%7C%20undefined%7D%0D%0A%20*%2F%0D%0Afunction%20bar(foo%20%3D%20null)%20%7B%0D%0A%20if%20(foo%20%3D%3D%20null)%20return%3B%0D%0A%20return%20foo.length%3B%0D%0A%7D%0D%0Abar(%22q%22)%3B%0D%0Abar()%3B%0D%0A
https://github.com/Microsoft/TypeScript/issues/14889
---
- https://github.com/mbasso/awesome-wasm#languages
- https://github.com/sebmarkbage/ocamlrun-wasm
- https://github.com/cheukchuen/go-to-wasm
- https://github.com/WebAssembly/binaryen
- https://github.com/AssemblyScript/assemblyscript
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment