Skip to content

Commit 46d6fd8

Browse files
committed
Mark isUnitialized as deprecated
Signed-off-by: Florian Hotze <dev@florianhotze.com>
1 parent a457d56 commit 46d6fd8

6 files changed

Lines changed: 6 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ Calling `getItem(...)` or `...` returns an `Item` object with the following prop
496496
- .members ⇒ `Array[Item]`
497497
- .descendents ⇒ `Array[Item]`
498498
- .isInitialized ⇒ `boolean`
499-
- ~~.isUninitialized ⇒ `boolean`~~
499+
- ~~.isUninitialized ⇒ `boolean`~~ use `.isInitialized` instead
500500
- .groupNames ⇒ `Array[string]`
501501
- .tags ⇒ `Array[string]`
502502
- .getMetadata(namespace) ⇒ `object|null`

src/items/items.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@ class Item {
303303

304304
/**
305305
* Whether this Item is initialized (`true` if it has been initialized).
306+
* @deprecated use {@link isInitialized} instead
306307
* @type {boolean}
307308
*/
308309
get isInitialized () {

types/items/items.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ export class Item {
267267
get descendents(): Item[];
268268
/**
269269
* Whether this Item is initialized (`true` if it has been initialized).
270+
* @deprecated use {@link isInitialized} instead
270271
* @type {boolean}
271272
*/
272273
get isInitialized(): boolean;

types/items/items.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

types/rules/operation-builder.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export type Item = {
3636
toString(): any;
3737
};
3838
};
39+
/** @private */
3940
replaceMetadata(namespace: string, value: string, configuration?: any): {
4041
rawMetadata: any;
4142
readonly value: string;

types/rules/operation-builder.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)