Skip to content

Commit 7c204e7

Browse files
committed
Replace Babel + Flow with TypeScript
Uses our current toolchain to build the project and removes `for…of` iterator transformation in the module output. No behavior or API changes here.
1 parent e590481 commit 7c204e7

13 files changed

Lines changed: 154 additions & 1291 deletions

.eslintrc.json

Lines changed: 0 additions & 26 deletions
This file was deleted.

.flowconfig

Lines changed: 0 additions & 11 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Annotate fields to be persisted on navigation away from the current page.
44
Fields be automatically restored when the user revists the page again in
55
their current browser session (excludes separate tabs).
66

7-
Not design for persisted crash recovery.
7+
Not designed for persisted crash recovery.
88

99
## Installation
1010

index.d.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
module.exports = function (config) {
22
config.set({
33
frameworks: ['mocha', 'chai'],
4-
files: ['../dist/session-resume.umd.js', 'test.js'],
4+
files: [
5+
{pattern: 'dist/index.js', type: 'module'},
6+
{pattern: 'test/test.js', type: 'module'}
7+
],
58
reporters: ['mocha'],
69
port: 9876,
710
colors: true,

0 commit comments

Comments
 (0)