-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
address feedback other than feature-flags
- Loading branch information
Showing
3 changed files
with
29 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
packages/store/addon/-private/identifiers/is-stable-identifier.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
import { StableRecordIdentifier, IS_IDENTIFIER } from '../ts-interfaces/identifier'; | ||
|
||
export default function isStableIdentifier( | ||
identifier: StableRecordIdentifier | any | ||
): identifier is StableRecordIdentifier { | ||
export default function isStableIdentifier(identifier: any): identifier is StableRecordIdentifier { | ||
return identifier[IS_IDENTIFIER] === true; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export default function isNonEmptyString(str?: any): str is string { | ||
export default function isNonEmptyString(str: any): str is string { | ||
return typeof str === 'string' && str.length > 0; | ||
} |