diff --git a/test/svelte3/integration/events/event.markup.modificators.svelte b/test/svelte3/integration/events/event.markup.modificators.svelte index c652aa7..78deb39 100644 --- a/test/svelte3/integration/events/event.markup.modificators.svelte +++ b/test/svelte3/integration/events/event.markup.modificators.svelte @@ -1,6 +1,6 @@
-
\ No newline at end of file diff --git a/test/svelte3/integration/events/events.spec.js b/test/svelte3/integration/events/events.spec.js index 73f4891..4569737 100644 --- a/test/svelte3/integration/events/events.spec.js +++ b/test/svelte3/integration/events/events.spec.js @@ -25,7 +25,7 @@ describe('SvelteDoc v3 - Events', () => { expect(event.description).to.equal('Event fired when user clicked on button.'); expect(event.modificators).to.eql([ - 'once', 'preventDefault' + 'once', 'preventDefault', 'stopPropagation', 'passive', 'nonpassive', 'capture', 'self', 'trusted' ]); done(); diff --git a/typings.d.ts b/typings.d.ts index 131f8f5..875852a 100644 --- a/typings.d.ts +++ b/typings.d.ts @@ -301,7 +301,9 @@ export type SvelteEventModificator = | 'passive' | 'capture' | 'once' - | 'nonpassive'; + | 'nonpassive' + | 'self' + | 'trusted'; export interface SvelteEventItem extends ISvelteItem { /**