fix: types tweaks #1236

Closed
jeetiss wants to merge 2 commits from types-tweaks into main
jeetiss commented 2023-03-12 03:31:12 -07:00 (Migrated from github.com)
- format types with `prettier` - apply suggestion from https://github.com/facebook/yoga/pull/1233#discussion_r1120807560
NickGerleman (Migrated from github.com) approved these changes 2023-03-14 01:36:26 -07:00
@@ -9,3 +9,3 @@
import type {Yoga} from './wrapAsm';
import type { Yoga } from "./wrapAsm";
NickGerleman (Migrated from github.com) commented 2023-03-14 01:28:11 -07:00

I forgot that I had told ESLint to ignore .d.ts files. c09405d58c/javascript/.eslintrc.js (L12)

I did that at the time because I didn't want to spend the time then to set up typescript-eslint a TS dep, and tests against the types. But it would be great to fix that up eventually.

I forgot that I had told ESLint to ignore `.d.ts` files. https://github.com/facebook/yoga/blob/c09405d58c624fd26d5e0a7ed98bd10c5cc4c05b/javascript/.eslintrc.js#L12 I did that at the time because I didn't want to spend the time then to set up `typescript-eslint` a TS dep, and tests against the types. But it would be great to fix that up eventually.
facebook-github-bot commented 2023-03-14 01:39:10 -07:00 (Migrated from github.com)

@NickGerleman has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@NickGerleman has imported this pull request. If you are a Meta employee, you can view this diff [on Phabricator](https://www.internalfb.com/diff/D44052580).
facebook-github-bot commented 2023-03-14 04:19:00 -07:00 (Migrated from github.com)

@NickGerleman merged this pull request in facebook/yoga@b17f08ed49.

@NickGerleman merged this pull request in facebook/yoga@b17f08ed4915f24b794a7f2ffdc5cd0acfaf88e1.

Pull request closed

Sign in to join this conversation.
No description provided.