-
-
Save quochuy/5b95ba862fb6dc5d534b0c8a1c0658af to your computer and use it in GitHub Desktop.
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
interface MyInput { | |
attr1: string; | |
attr2: number; | |
} | |
const myFunction = (input: MyInput): boolean => { | |
return input.attr1 === 'test' && input.attr2 > 10; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment