Files
react-native-devtools-frontend/node_modules/@types
Benedikt Meurer 11565081e8 [chai] Improve types for assert functions.
This CL adds `asserts` to various `assert` functions provided by Chai,
and massages some parts of the code base to still typecheck correctly.
This is in preparation for removing a bunch of homegrown helpers, but
also as proof-of-concept for upstreaming these to DefinitelyTyped
once battle-tested in DevTools.

The following functions now have `asserts`:

- `assert()`
- `assert.isOk()` and `assert.ok()`
- `assert.isTrue()` and `assert.isNotTrue()`
- `assert.isFalse()` and `assert.isNotFalse()`
- `assert.isNull()` and `assert.isNotNull()`
- `assert.exists()` and `assert.notExists()`
- `assert.isDefined()` and `assert.isUndefined()`
- `assert.instanceOf()`

Bug: 333520272
Change-Id: I852edd4fc579b0d9f9b6a347502d64ea3d12dc46
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5444833
Commit-Queue: Philip Pfaffe <pfaffe@chromium.org>
Auto-Submit: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: Philip Pfaffe <pfaffe@chromium.org>
2024-04-12 07:32:43 +00:00
..
2022-01-07 14:26:50 +00:00
2023-05-23 16:50:12 +00:00
2021-07-30 10:40:28 +00:00
2021-07-30 10:40:28 +00:00
2021-02-17 12:08:49 +00:00
2021-05-14 16:51:40 +00:00
2021-06-02 16:36:54 +00:00
2021-02-17 12:08:49 +00:00
2021-11-24 06:28:40 +00:00
2021-05-14 16:51:40 +00:00
2021-02-17 12:08:49 +00:00
2021-07-30 10:40:28 +00:00
2022-11-22 16:47:17 +00:00
2021-02-17 12:08:49 +00:00
2021-02-17 12:08:49 +00:00
2023-06-02 14:33:49 +00:00
2022-01-07 14:33:50 +00:00
2021-02-17 12:08:49 +00:00