Revert toSpliced to splice

This commit is contained in:
Adria Navarro 2024-12-27 17:42:33 +01:00
parent 0c53610231
commit e9826f7efd
2 changed files with 2 additions and 1 deletions

View File

@ -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)
}) })
} }

View File

@ -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",