Skip to content

Commit fbb6762

Browse files
committed
TypeScript type defintions docs for website
1 parent b0d7a0d commit fbb6762

File tree

70 files changed

+373
-68
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+373
-68
lines changed

docs/web/docs/features/iteration-helpers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function getIteratorMethod(value: any): Function | void;
99
```
1010

1111
## [Entry points]({docs-version}/docs/usage#h-entry-points)
12-
```
12+
```plaintext
1313
@core-js/pure/es|stable|actual|full/is-iterable
1414
@core-js/pure/es|stable|actual|full/get-iterator
1515
@core-js/pure/es|stable|actual|full/get-iterator-method

docs/web/docs/features/proposals/accessible-object-prototype-hasownproperty.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ class Object {
1010
```
1111

1212
## [Entry points]({docs-version}/docs/usage#h-entry-points)
13-
```ts
13+
```plaintext
1414
core-js/proposals/accessible-object-hasownproperty
1515
```
16+
17+
## [TypeScript type definitions]({docs-version}/docs/typescript-type-definitions)
18+
[`@core-js/types/proposals/accessible-object-hasownproperty`](https://github.com/zloirock/core-js/blob/v4-types/packages/core-js-types/src/base/proposals/accessible-object-hasownproperty.d.ts)

docs/web/docs/features/proposals/array-deduplication.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,15 @@ class %TypedArray% {
1616
```
1717

1818
## [Entry points]({docs-version}/docs/usage#h-entry-points)
19-
```
19+
```plaintext
2020
core-js/proposals/array-unique
2121
core-js(-pure)/full/array(/prototype)/unique-by
2222
core-js/full/typed-array/unique-by
2323
```
2424

25+
## [TypeScript type definitions]({docs-version}/docs/typescript-type-definitions)
26+
[`@core-js/types/proposals/array-unique`](https://github.com/zloirock/core-js/blob/v4-types/packages/core-js-types/src/base/proposals/array-unique.d.ts)
27+
2528
## Examples
2629
```js
2730
[1, 2, 3, 2, 1].uniqueBy(); // [1, 2, 3]

docs/web/docs/features/proposals/array-filtering.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,15 @@ class %TypedArray% {
1717
```
1818

1919
## [Entry points]({docs-version}/docs/usage#h-entry-points)
20-
```
20+
```plaintext
2121
core-js/proposals/array-filtering
2222
core-js(-pure)/full/array(/prototype)/filter-reject
2323
core-js/full/typed-array/filter-reject
2424
```
2525

26+
## [TypeScript type definitions]({docs-version}/docs/typescript-type-definitions)
27+
[`@core-js/types/proposals/array-filtering`](https://github.com/zloirock/core-js/blob/v4-types/packages/core-js-types/src/base/proposals/array-filtering.d.ts)
28+
2629
## Examples
2730
```js
2831
[1, 2, 3, 4, 5].filterReject(it => it % 2); // => [2, 4]

docs/web/docs/features/proposals/array-find-from-last.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ class %TypedArray% {
1616
```
1717

1818
## [Entry points]({docs-version}/docs/usage#h-entry-points)
19-
```ts
19+
```plaintext
2020
core-js/proposals/array-find-from-last
2121
```
22+
23+
## [TypeScript type definitions]({docs-version}/docs/typescript-type-definitions)
24+
[`@core-js/types/proposals/array-find-from-last`](https://github.com/zloirock/core-js/blob/v4-types/packages/core-js-types/src/base/proposals/array-find-from-last.d.ts)

docs/web/docs/features/proposals/array-fromasync.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ class Array {
1010
```
1111

1212
## [Entry points]({docs-version}/docs/usage#h-entry-points)
13-
```ts
13+
```plaintext
1414
core-js/proposals/array-from-async
1515
```
16+
17+
## [TypeScript type definitions]({docs-version}/docs/typescript-type-definitions)
18+
[`@core-js/types/proposals/array-from-async`](https://github.com/zloirock/core-js/blob/v4-types/packages/core-js-types/src/base/proposals/array-from-async.d.ts)

docs/web/docs/features/proposals/array-grouping.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ class Map {
1414
```
1515

1616
## [Entry points]({docs-version}/docs/usage#h-entry-points)
17-
```
17+
```plaintext
1818
core-js/proposals/array-grouping-v2
1919
```
20+
21+
## [TypeScript type definitions]({docs-version}/docs/typescript-type-definitions)
22+
[`@core-js/types/proposals/array-grouping`](https://github.com/zloirock/core-js/blob/v4-types/packages/core-js-types/src/base/proposals/array-grouping.d.ts)

docs/web/docs/features/proposals/array-istemplateobject.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,14 @@ class Array {
1313
```
1414

1515
## [Entry points]({docs-version}/docs/usage#h-entry-points)
16-
```ts
16+
```plaintext
1717
core-js/proposals/array-is-template-object
1818
core-js(-pure)/full/array/is-template-object
1919
```
2020

21+
## [TypeScript type definitions]({docs-version}/docs/typescript-type-definitions)
22+
[`@core-js/types/proposals/array-is-template-object`](https://github.com/zloirock/core-js/blob/v4-types/packages/core-js-types/src/base/proposals/array-is-template-object.d.ts)
23+
2124
## Example
2225
```js
2326
console.log(Array.isTemplateObject((it => it)`qwe${ 123 }asd`)); // => true

docs/web/docs/features/proposals/array-prototype-flat-flatmap.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ class Array {
1111
```
1212

1313
## [Entry points]({docs-version}/docs/usage#h-entry-points)
14-
```ts
14+
```plaintext
1515
core-js/proposals/array-flat-map
1616
```
17+
18+
## [TypeScript type definitions]({docs-version}/docs/typescript-type-definitions)
19+
[`@core-js/types/proposals/array-flat-map`](https://github.com/zloirock/core-js/blob/v4-types/packages/core-js-types/src/base/proposals/array-flat-map.d.ts)

docs/web/docs/features/proposals/array-prototype-includes.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ class %TypedArray% {
1313
```
1414

1515
## [Entry points]({docs-version}/docs/usage#h-entry-points)
16-
```ts
16+
```plaintext
1717
core-js/proposals/array-includes
1818
```
19+
20+
## [TypeScript type definitions]({docs-version}/docs/typescript-type-definitions)
21+
[`@core-js/types/proposals/array-includes`](https://github.com/zloirock/core-js/blob/v4-types/packages/core-js-types/src/base/proposals/array-includes.d.ts)

0 commit comments

Comments
 (0)