fixed using wrong variable format
This commit is contained in:
parent
6a30635bf5
commit
dbf9edd23a
1 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
|||
import Timeout = NodeJS.Timeout;
|
||||
|
||||
let intervalTime = 150;
|
||||
|
||||
let terminal:HTMLElement = <HTMLElement> document.getElementsByClassName("terminal")[0];
|
||||
|
@ -6,7 +8,7 @@ let promptContainer:HTMLElement = <HTMLElement> terminal.getElementsByClassName(
|
|||
|
||||
let dataIndex = 0;
|
||||
let stringPosition = 0;
|
||||
let printTask: number;
|
||||
let printTask: Timeout;
|
||||
|
||||
function writeOut() {
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue