-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated to now support CCUILib, updated TS compiler/build options for…
… release, v0.7.3
- Loading branch information
1 parent
bdb73f3
commit 76687b9
Showing
6 changed files
with
33 additions
and
12 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
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,13 +1,25 @@ | ||
declare namespace ig { | ||
/* | ||
* While this is disingenuous of the input field's type... | ||
* The point is not to make it accurate. | ||
* It's to make it provide a minimum needed interface for the item spawner. | ||
* | ||
*/ | ||
namespace GuiTextInputField { | ||
interface InputFieldType {} | ||
} | ||
interface GuiTextInputField extends ig.FocusGui { | ||
onCharacterInput(): void; | ||
onCharacterInput: () => void; | ||
getValueAsString(this: this): string; | ||
} | ||
interface GuiTextInputFieldConstructor extends ImpactClass<GuiTextInputField> { | ||
new (width: number, height: number, inputField_type?: GuiTextInputField.InputFieldType): ig.GuiTextInputField | ||
new (width: number, height: number): GuiTextInputField | ||
} | ||
var GuiTextInputField: GuiTextInputFieldConstructor | ||
var GuiTextInputField: GuiTextInputFieldConstructor | undefined; | ||
} | ||
|
||
declare namespace nax.ccuilib { | ||
type InputField = ig.GuiTextInputField; | ||
type InputFieldConstructor = ig.GuiTextInputFieldConstructor; | ||
let InputField: InputFieldConstructor | undefined; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"extends": "./tsconfig.json", | ||
"compilerOptions": { | ||
"incremental": false, | ||
"inlineSourceMap": false, | ||
"inlineSources": false, | ||
} | ||
} |