-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(gitignore): fixed type files getting falsely ignored
- Loading branch information
1 parent
a6754bc
commit 487b894
Showing
2 changed files
with
19 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ node_modules/ | |
dist/ | ||
|
||
# compiled types | ||
types/ | ||
*.d.ts | ||
|
||
# testing data | ||
data/ | ||
|
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,18 @@ | ||
import { Maybe } from './misc/utils' | ||
|
||
/** | ||
* Represents a debug result interface. | ||
* | ||
* Type parameters: | ||
* - `TResult` ({@link any}) - The return type of the debug function. | ||
* | ||
* @typedef {object} IDebugResult<TResult> | ||
* @prop {Maybe<TResult>} result The returned value of the debug function. | ||
* @prop {Maybe<Error>} error The error that possibly could be thrown during the debug function call. | ||
* | ||
* @template TResult The return type of the debug function. | ||
*/ | ||
export interface IDebugResult<TResult = any> { | ||
result: Maybe<TResult> | ||
error: Maybe<Error> | ||
} |