Skip to content

Commit 4f1dac7

Browse files
authored
update for primitives (#6819)
Thanks for your contribution! Please replace this text with a description of what this PR is changing or adding and why, list any relevant issues, and review the contribution guidelines below. Fixes #6774 Preview: https://dart-dev--pr6819-js-types-1vzi950e.web.app/interop/js-interop/js-types --- - [x] I’ve reviewed the contributor guide and applied the relevant portions to this PR. - [x] This PR doesn't contain automatically generated corrections or text (Grammarly, LLMs, and similar). - [x] This PR follows the [Google Developer Documentation Style Guidelines](https://developers.google.com/style) — for example, it doesn't use _i.e._ or _e.g._, and it avoids _I_ and _we_ (first person). - [x] This PR uses [semantic line breaks](https://github.com/dart-lang/site-shared/blob/main/doc/writing-for-dart-and-flutter-websites.md#semantic-line-breaks) of 80 characters or fewer. <details> <summary>Contribution guidelines:</summary><br> - See our [contributor guide](https://github.com/dart-lang/site-www/blob/main/CONTRIBUTING.md) for general expectations for PRs. - Larger or significant changes should be discussed in an issue before creating a PR. - Code changes should generally follow the [Dart style guide](https://dart.dev/effective-dart) and use `dart format`. - Updates to [code excerpts](https://github.com/dart-lang/site-shared/blob/main/packages/excerpter) indicated by `<?code-excerpt` need to be updated in their source `.dart` file as well. </details>
1 parent 12ba23a commit 4f1dac7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/content/interop/js-interop/js-types.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ In order to interact with and examine these JS values, you should use
2828
JS types form a natural type hierarchy:
2929

3030
- Top type: `JSAny`, which is any non-nullish JS value
31-
- Primitives: `JSNumber`, `JSBoolean`, `JSString`
32-
- `JSSymbol`
33-
- `JSBigInt`
31+
- Primitives: `JSNumber`, `JSBoolean`, `JSString`, `JSSymbol`, `JSBigInt`
3432
- `JSObject`, which is any JS object
3533
- `JSFunction`
3634
- `JSExportedDartFunction`, which represents a Dart callback that was

0 commit comments

Comments
 (0)