Created
August 12, 2017 21:14
-
-
Save nhathiwala/1d8b5d8c1e76a061bbbd420f0057b496 to your computer and use it in GitHub Desktop.
firefunctions/src/models/index.ts
This file contains hidden or 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
| /* | |
| * FILE NAME: index.ts | |
| * FILE PATH: './models/' | |
| * AUTHOR: NAYAN HATHIWALA | |
| * CREATED ON: 10/8/2017 | |
| * DESCRIPTION: BASE Model. | |
| */ | |
| /* | |
| * Example For 'Type' | |
| */ | |
| type TypeModelLocation = { | |
| lat: number; | |
| log: number; | |
| }; | |
| /* | |
| * Use in code | |
| * | |
| var location: TypeModelLocation = { | |
| lat: -1.00000000, | |
| log: -1.00000000 | |
| }; | |
| */ | |
| /* | |
| * Example For 'Interface' | |
| */ | |
| interface InterfaceModelLocation { | |
| lat: number; | |
| log: number; | |
| } | |
| /* | |
| * Use in code | |
| * | |
| var location: InterfaceModelLocation = { | |
| lat: -1.00000000, | |
| log: -1.00000000 | |
| }; | |
| */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment