-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
set the fundamental grammar at reach min not-none file jk. just file for test gitignore
- Loading branch information
1 parent
f91d426
commit 284da40
Showing
5 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import { jsonicflow } from './max/reach'; | ||
export default jsonicflow; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/* | ||
will seperate to class - interface | ||
interface file | ||
exporting interface : non-default | ||
*/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
/* reach file */ | ||
export { JsonicFlow as jsonicflow }; | ||
|
||
import * as fs from 'fs'; | ||
import path from 'path'; | ||
|
||
class JsonicFlow { | ||
static init(): ICreateDatabaseClass { | ||
return new CreateDatabaseClass(); | ||
} | ||
} | ||
|
||
interface ICreateDatabaseClass { | ||
name: (nr: string) => IRealNameJsonFlowClass; | ||
} | ||
|
||
class CreateDatabaseClass implements ICreateDatabaseClass { | ||
name(nr: string): IRealNameJsonFlowClass { | ||
return new RealNameJsonFlowClass(); | ||
} | ||
} | ||
|
||
interface IRealNameJsonFlowClass { | ||
createDatabase: (name: string) => IJsonTableClass; | ||
} | ||
|
||
class RealNameJsonFlowClass implements IRealNameJsonFlowClass { | ||
createDatabase(): IJsonTableClass { | ||
return new JsonTableClass(); | ||
} | ||
} | ||
|
||
interface IJsonTableClass {} | ||
|
||
class JsonTableClass implements IJsonTableClass {} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import jsflow from './lib'; | ||
|
||
jsflow.init().name("users"); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
import * as fs from 'fs'; | ||
|
||
// nothing want to write here | ||
// just want a test for gitignore error |