Refactor prop types to omit redundant null for null | HTMLElement types (#998)

* refactor: omit redundant `null` prop type for HTMLElements

* yarn build:lib

* test: assert updated element prop types
This commit is contained in:
Eric Liu 2022-01-12 13:36:47 -10:00 committed by GitHub
commit 6de73f86fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 40 additions and 35 deletions

View file

@ -136,13 +136,13 @@
/**
* Obtain a reference to the field box element
* @type {null | HTMLDivElement}
* @type {HTMLDivElement}
*/
export let fieldRef = null;
/**
* Obtain a reference to the selection element
* @type {null | HTMLDivElement}
* @type {HTMLDivElement}
*/
export let selectionRef = null;