Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom hook types #601

Merged
merged 6 commits into from
Nov 4, 2020
Merged

Add custom hook types #601

merged 6 commits into from
Nov 4, 2020

Conversation

vicnicius
Copy link
Contributor

@vicnicius vicnicius commented Nov 4, 2020

Description of the pull request

Moving some custom hook type definitions to .d.ts. Due to microsoft/TypeScript#38691 it wasn't possible to do so on the version of TS we were using, so I upgraded TS and locked it to their current release candidate.

closes #481

@vicnicius vicnicius marked this pull request as ready for review November 4, 2020 11:58
@github-actions
Copy link

github-actions bot commented Nov 4, 2020

Size Change: -1.51 kB (0%)

Total Size: 1.26 MB

Filename Size Change
./dist/browser.full-bundle.js 644 kB -526 B (0%)
./dist/index.es.js 105 kB -494 B (0%)
./dist/index.js 107 kB -491 B (0%)
ℹ️ View Unchanged
Filename Size Change
./dist/browser.full-bundle.min.js 373 kB 0 B
./dist/css/index.css 23 kB 0 B
./dist/css/index.js 21 B 0 B
./dist/i18n/en.json 824 B 0 B
./dist/i18n/fr.json 1.25 kB 0 B
./dist/i18n/hi.json 1.43 kB 0 B
./dist/i18n/it.json 1.19 kB 0 B
./dist/i18n/nl.json 1.17 kB 0 B
./dist/i18n/ru.json 1.47 kB 0 B
./dist/i18n/tr.json 1.19 kB 0 B

compressed-size-action

src/components/MessageInput/hooks/messageInput.js Outdated Show resolved Hide resolved
types/index.d.ts Show resolved Hide resolved
Upgrading typescript to the 4.1 release candidate as 4.0.x contains a
bug that prevents us from adding new types to our definition file.
Signed-off-by: Vini Andrade <[email protected]>
@vicnicius vicnicius merged commit a26da2c into master Nov 4, 2020
@delete-merged-branch delete-merged-branch bot deleted the feat/add-custom-hook-types branch November 4, 2020 15:07
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hooks typescript definitions are missing
2 participants