Remove id property
This commit is contained in:
parent
2a799ade6e
commit
fb2c5088a9
3 changed files with 2 additions and 9 deletions
|
@ -100,12 +100,6 @@ export class TLDrawState extends StateManager<Data> {
|
|||
private _onChange?: (tlstate: TLDrawState, data: Data, reason: string) => void
|
||||
private _onMount?: (tlstate: TLDrawState) => void
|
||||
|
||||
_id?: string
|
||||
|
||||
get id() {
|
||||
return this._id
|
||||
}
|
||||
|
||||
selectHistory: SelectHistory = {
|
||||
stack: [[]],
|
||||
pointer: 0,
|
||||
|
@ -140,8 +134,6 @@ export class TLDrawState extends StateManager<Data> {
|
|||
return state
|
||||
})
|
||||
|
||||
this._id = id
|
||||
|
||||
this._onChange = onChange
|
||||
this._onMount = onMount
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
"include": ["src"],
|
||||
"exclude": ["node_modules", "dist", "docs"],
|
||||
"compilerOptions": {
|
||||
"strict": true,
|
||||
"composite": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"rootDir": "src",
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
"noUnusedLocals": false /* Report errors on unused locals. */,
|
||||
"noUnusedParameters": false /* Report errors on unused parameters. */,
|
||||
"skipLibCheck": true,
|
||||
"strict": false,
|
||||
"strict": true,
|
||||
"strictFunctionTypes": true /* Enable strict checking of function types. */,
|
||||
"strictNullChecks": true /* Enable strict null checks. */,
|
||||
"stripInternal": true,
|
||||
|
|
Loading…
Reference in a new issue