Last active
March 23, 2022 02:09
-
-
Save jtlapp/f4f50c6b8602e197d5abcda14b8f64a8 to your computer and use it in GitHub Desktop.
Example main API without type checking
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
export class MainApi1 { | |
methodA(arg1: string, arg2: number): Promise<void> { | |
// code for methodA | |
} | |
methodB(): Promise<number> { | |
// code for methodB | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment