Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Hide sift none unique symbol #24

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion src/Util.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
export type SiftNone = { readonly __none__: unique symbol }
export type SiftNone = {
/**
* **DO NOT USE!**
*
* @hidden
* @deprecated
*/
readonly __none__: unique symbol
}
export type ExcludeNone<T> = Exclude<T, SiftNone>
export type ObjectKey = string | number | symbol
export type AnySet = Set<unknown>
Expand Down
Loading