Created
March 26, 2020 15:22
-
-
Save krukru/899e1577ac1495fbe59c982f747c7489 to your computer and use it in GitHub Desktop.
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
class Foo extends BaseAvroRecord { | |
public constructor(options: FooOptions) { | |
// ovdje ide mapiranje | |
} | |
} | |
interface FooOptions { | |
public requiredField1: string; | |
public requiredField2: number; | |
public optionalField3?: number; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment