-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1072 from y-lohse/jz/better-typings
Release 2.2.5
- Loading branch information
Showing
43 changed files
with
8,049 additions
and
10,829 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
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
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,8 +1,11 @@ | ||
/engine/ | ||
/compiler/ | ||
dist/ | ||
bin/ | ||
test/stories/ | ||
/tests/specs/ | ||
/ink.js | ||
/ink.js.map | ||
|
||
# Logs | ||
logs | ||
|
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 @@ | ||
{ | ||
"trailingComma": "es5" | ||
} |
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
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
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
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,41 +1,4 @@ | ||
import { Story, InkList } from './engine/Story' | ||
import { Compiler } from './compiler/Compiler' | ||
import { CompilerOptions } from './compiler/CompilerOptions' | ||
import { PosixFileHandler } from './compiler/FileHandler/PosixFileHandler' | ||
import { JsonFileHandler } from './compiler/FileHandler/JsonFileHandler' | ||
|
||
declare interface Inkjs { | ||
/** | ||
* A Story is the core class that represents a complete Ink narrative, and | ||
* manages runtime evaluation and state. | ||
*/ | ||
Story: typeof Story | ||
|
||
/** | ||
* The underlying type for a list item in Ink. | ||
*/ | ||
InkList: typeof InkList | ||
|
||
/** | ||
* Compiles Ink stories from source. | ||
*/ | ||
Compiler: typeof Compiler | ||
|
||
/** | ||
* Metadata options for a compiler pass. | ||
*/ | ||
CompilerOptions: typeof CompilerOptions | ||
|
||
/** | ||
* Resolves and loads Ink sources from a POSIX filesystem. | ||
*/ | ||
PosixFileHandler: typeof PosixFileHandler | ||
|
||
/** | ||
* Resolves and loads Ink sources from a JSON hierarchy. | ||
*/ | ||
JsonFileHandler: typeof JsonFileHandler | ||
} | ||
|
||
declare let inkjs: Inkjs | ||
export default inkjs | ||
export { Story, InkList } from "./engine/Story"; | ||
export { Compiler, CompilerOptions } from "./compiler/Compiler"; | ||
export { PosixFileHandler } from "./compiler/FileHandler/PosixFileHandler"; | ||
export { JsonFileHandler } from "./compiler/FileHandler/JsonFileHandler"; |
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,41 +1,4 @@ | ||
import { Story, InkList } from './engine/Story' | ||
import { Compiler } from './compiler/Compiler' | ||
import { CompilerOptions } from './compiler/CompilerOptions' | ||
import { PosixFileHandler } from './compiler/FileHandler/PosixFileHandler' | ||
import { JsonFileHandler } from './compiler/FileHandler/JsonFileHandler' | ||
|
||
declare interface Inkjs { | ||
/** | ||
* A Story is the core class that represents a complete Ink narrative, and | ||
* manages runtime evaluation and state. | ||
*/ | ||
Story: typeof Story | ||
|
||
/** | ||
* The underlying type for a list item in Ink. | ||
*/ | ||
InkList: typeof InkList | ||
|
||
/** | ||
* Compiles Ink stories from source. | ||
*/ | ||
Compiler: typeof Compiler | ||
|
||
/** | ||
* Metadata options for a compiler pass. | ||
*/ | ||
CompilerOptions: typeof CompilerOptions | ||
|
||
/** | ||
* Resolves and loads Ink sources from a POSIX filesystem. | ||
*/ | ||
PosixFileHandler: typeof PosixFileHandler | ||
|
||
/** | ||
* Resolves and loads Ink sources from a JSON hierarchy. | ||
*/ | ||
JsonFileHandler: typeof JsonFileHandler | ||
} | ||
|
||
declare let inkjs: Inkjs | ||
export default inkjs | ||
export { Story, InkList } from "./engine/Story"; | ||
export { Compiler, CompilerOptions } from "./compiler/Compiler"; | ||
export { PosixFileHandler } from "./compiler/FileHandler/PosixFileHandler"; | ||
export { JsonFileHandler } from "./compiler/FileHandler/JsonFileHandler"; |
Oops, something went wrong.