1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-30 18:39:51 +02:00

Upgrade next.js to 12 and related packages (#5042)

* Upgrade next.js and source-map-loader

* Add changeset

* Upgrade eslint and typescript

* improve reliability of iframe test

* fix lint
This commit is contained in:
Bryan Haakman
2022-07-15 15:14:18 +02:00
committed by GitHub
parent f96b659755
commit 11a93e65de
31 changed files with 817 additions and 1396 deletions

View File

@@ -21,7 +21,7 @@
"lodash": "^4.17.21",
"slate": "^0.81.0",
"slate-hyperscript": "^0.77.0",
"source-map-loader": "^0.2.4"
"source-map-loader": "^4.0.0"
},
"peerDependencies": {
"slate": ">=0.65.3"

View File

@@ -19,6 +19,7 @@ export interface HistoryEditor extends BaseEditor {
redo: () => void
}
// eslint-disable-next-line no-redeclare
export const HistoryEditor = {
/**
* Check if a value is a `HistoryEditor` object.

View File

@@ -11,6 +11,7 @@ export interface History {
undos: Operation[][]
}
// eslint-disable-next-line no-redeclare
export const History = {
/**
* Check if a value is a `History` object.