Revert toSpliced to splice
This commit is contained in:
parent
0c53610231
commit
e9826f7efd
|
@ -423,7 +423,7 @@ export const createActions = (context: StoreContext): RowActionStore => {
|
||||||
// Add to state
|
// Add to state
|
||||||
if (saved.length) {
|
if (saved.length) {
|
||||||
rows.update(state => {
|
rows.update(state => {
|
||||||
return state.splice(index + 1, 0, ...saved)
|
return state.toSpliced(index + 1, 0, ...saved)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
"extends": "../../tsconfig.build.json",
|
"extends": "../../tsconfig.build.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "ESNext",
|
"target": "ESNext",
|
||||||
|
"lib": ["ESNext"],
|
||||||
"module": "preserve",
|
"module": "preserve",
|
||||||
"moduleResolution": "bundler",
|
"moduleResolution": "bundler",
|
||||||
"outDir": "./dist",
|
"outDir": "./dist",
|
||||||
|
|
Loading…
Reference in New Issue