react-use icon indicating copy to clipboard operation
react-use copied to clipboard

What is doing "!."?

Open SkutinAnton opened this issue 6 years ago โ€ข 2 comments

https://github.com/streamich/react-use/blob/985c8b4a5b98a76755bc84275c503f1c0b2a2f4e/src/useFullscreen.ts#L27

SkutinAnton avatar Aug 20 '20 15:08 SkutinAnton

uhh.. maybe typescript docs could help you? ๐Ÿคจ https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-0.html#non-null-assertion-operator

xobotyi avatar Aug 20 '20 15:08 xobotyi

Oh, thank you ๐Ÿ˜Š I didnโ€™t see that it was typeScript and I was looking in ECMAScript docs.

SkutinAnton avatar Aug 20 '20 15:08 SkutinAnton