Skip to content

Commit c6bbad7

Browse files
committed
lint
1 parent bf7dd0a commit c6bbad7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/clipboarditem.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@ type ClipboardItems = Record<string, string | Blob | PromiseLike<string | Blob>>
22
const records = new WeakMap<ClipboardItem, ClipboardItems>()
33
const presentationStyles = new WeakMap<ClipboardItem, PresentationStyle>()
44
export class ClipboardItem {
5-
constructor(
6-
items: ClipboardItems,
7-
options: ClipboardItemOptions | undefined = {}
8-
) {
5+
constructor(items: ClipboardItems, options: ClipboardItemOptions | undefined = {}) {
96
if (Object.keys(items).length === 0) throw new TypeError('Empty dictionary argument')
107
records.set(this, items)
118
presentationStyles.set(this, options.presentationStyle || 'unspecified')

0 commit comments

Comments
 (0)