Skip to content

Commit

Permalink
Migrate selectors.js to TypeScript (extension only) (#40026)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamziel authored Apr 4, 2022
1 parent bca7d3a commit 51b2b69
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/reference-guides/data/data-core.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Namespace: `core`.

## Selectors

<!-- START TOKEN(Autogenerated selectors|../../../packages/core-data/src/selectors.js) -->
<!-- START TOKEN(Autogenerated selectors|../../../packages/core-data/src/selectors.ts) -->

### canUser

Expand Down Expand Up @@ -561,7 +561,7 @@ _Returns_

- `boolean`: Whether the entity record is saving or not.

<!-- END TOKEN(Autogenerated selectors|../../../packages/core-data/src/selectors.js) -->
<!-- END TOKEN(Autogenerated selectors|../../../packages/core-data/src/selectors.ts) -->

## Actions

Expand Down
4 changes: 2 additions & 2 deletions packages/core-data/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ an entity record, if any.

The following selectors are available on the object returned by `wp.data.select( 'core' )`:

<!-- START TOKEN(Autogenerated selectors|src/selectors.js) -->
<!-- START TOKEN(Autogenerated selectors|src/selectors.ts) -->

### canUser

Expand Down Expand Up @@ -808,7 +808,7 @@ _Returns_

- `boolean`: Whether the entity record is saving or not.

<!-- END TOKEN(Autogenerated selectors|src/selectors.js) -->
<!-- END TOKEN(Autogenerated selectors|src/selectors.ts) -->

## Contributing to this package

Expand Down
File renamed without changes.

0 comments on commit 51b2b69

Please sign in to comment.