mirror of
https://github.com/filiprojek/nork.git
synced 2025-02-20 01:22:58 +01:00
rewriting to oop and typescript
This commit is contained in:
3
src/interfaces/GlobalInterface.ts
Normal file
3
src/interfaces/GlobalInterface.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export interface Norkcfg {
|
||||
lang: string
|
||||
}
|
15
src/interfaces/SetupInterface.ts
Normal file
15
src/interfaces/SetupInterface.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
export interface Questions {
|
||||
type: string
|
||||
message: string
|
||||
name: string
|
||||
choices: [
|
||||
{
|
||||
name: string
|
||||
value: string
|
||||
},
|
||||
{
|
||||
name: string
|
||||
value: string
|
||||
},
|
||||
]
|
||||
}
|
4
src/interfaces/test.ts
Normal file
4
src/interfaces/test.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export interface interfaceName {
|
||||
hello: string
|
||||
world: boolean | null | undefined
|
||||
}
|
4
src/interfaces/undefined.ts
Normal file
4
src/interfaces/undefined.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export interface interfaceName {
|
||||
hello: string
|
||||
world: boolean | null | undefined
|
||||
}
|
Reference in New Issue
Block a user