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

[email protected] #2274

Merged
merged 18 commits into from
Feb 24, 2021
Merged

[email protected] #2274

merged 18 commits into from
Feb 24, 2021

Conversation

nstepien
Copy link
Contributor

@nstepien nstepien commented Jan 13, 2021

@nstepien nstepien requested a review from amanmahajan7 January 13, 2021 14:09
@nstepien nstepien self-assigned this Jan 13, 2021
observe() {},
disconnect() {}
};
import 'core-js/stable';
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TS complains without an import/export, so I added this. It doesn't hurt to have I guess.

test/setup.ts:1:1 - error TS1208: 'setup.ts' cannot be compiled under '--isolatedModules' because it is considered a global script file. Add an import, export, or an empty 'export {}' statement to make it a module.

1 window.ResizeObserver ??= class {
  ~~~~~~

@nstepien nstepien marked this pull request as ready for review February 23, 2021 22:42
@@ -1,25 +1,12 @@
import { useRef, useState, useLayoutEffect } from 'react';

// https://github.com/microsoft/TypeScript/issues/37861
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@nstepien nstepien merged commit 1a251ea into canary Feb 24, 2021
@nstepien nstepien deleted the ts42 branch February 24, 2021 12:23
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.

2 participants