-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(QuickMongo): allowing normal string to be passed as a key
- Loading branch information
1 parent
88f5bd4
commit b4ce260
Showing
10 changed files
with
529 additions
and
131 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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# **`AutocompletableString<S>` Type** | ||
|
||
Makes an autocompletable union string type compatible with a `string` type. | ||
|
||
## Implementation | ||
```ts | ||
export type AutocompletableString<S extends string> = S | (string & {}) | ||
``` | ||
- **Type Parameters:** | ||
- `S` (`string`): The autocompletable union string type to make compatible with a `string` type. |
Oops, something went wrong.