Skip to content

Instantly share code, notes, and snippets.

@mjy9088
Created February 10, 2022 01:49
Show Gist options
  • Save mjy9088/1422a3bd5be4960600257c19cde20e58 to your computer and use it in GitHub Desktop.
Save mjy9088/1422a3bd5be4960600257c19cde20e58 to your computer and use it in GitHub Desktop.
To test dts react...
git clone --sparse --filter=blob:none --depth=1 -b $BRANCH_NAME --single-branch $REPOSITORY_URL dts-react
cd dts-react
npm i
npm i csstype
git sparse-checkout add prop-types
git sparse-checkout add scheduler/tracing
git sparse-checkout add react-dom
git sparse-checkout add types/react-addons-create-fragment
git sparse-checkout add types/react-addons-linked-state-mixin
git sparse-checkout add types/react-addons-pure-render-mixin
git sparse-checkout add types/react-addons-shallow-compare
git sparse-checkout add types/react-addons-update
git sparse-checkout add types/create-react-class
git sparse-checkout add types/react-dom-factories
npm test react
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment