mirror of
https://github.com/zenorocha/clipboard.js.git
synced 2023-08-10 21:12:48 +03:00
* Isolate cut, copy and core helper functions. * Update tests to accommodate new proposal * Add/update tests * Add tests to static copy/cut methods * Update condition syntax based on PR reviews * Migrate clipboard-action-default to functional approach. Update tests. Add tests * Improve folder structure. Clean up code. * Add types. Fix tsd check env. Improve in-code doc comments * Improve in-code doc comments
5 lines
123 B
TypeScript
5 lines
123 B
TypeScript
import { expectType } from 'tsd';
|
|
import * as Clipboard from './clipboard';
|
|
|
|
expectType<Clipboard>(new Clipboard('.btn'));
|