Skip to content

Commit 4a587fe

Browse files
Merge pull request #23 from ramseyfeng/master
Improve typings and fix snackbar close callback
2 parents 8f6d54a + 31fb9a2 commit 4a587fe

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

cypress/e2e/bottomsheet.cy.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/// <reference types="cypress" />
2+
13
beforeEach(() => {
24
cy.visit('http://localhost:3000')
35
cy.wait(500)
@@ -34,4 +36,4 @@ describe('server is started', () => {
3436
cy.get('div.v-card-text').should('contain', 'Hello world!')
3537
cy.get('div.v-card-actions').should('not.exist')
3638
})
37-
})
39+
})

cypress/test-server/package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"lib/**/*"
4545
],
4646
"devDependencies": {
47+
"@types/node": "^18.15.0",
4748
"@types/jest": "^29.5.3",
4849
"babel-jest": "^29.6.2",
4950
"cypress": "^12.17.3",

src/types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export type CreateDialogOptions = {
6060

6161
export type CreateNotifyOptions = {
6262
text: string;
63-
level?: string;
63+
level?: Level;
6464
location?: string;
6565
notifyOptions?: VSnackbar['$props'];
6666
};

0 commit comments

Comments
 (0)