mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Fix rrule: when imported, it uses `import { RRule } from "rrule";`, not `import RRule = require("rrule");`.
* Support both CommonJS and AMD loading by exporting two different ways.
3 lines
84 B
TypeScript
3 lines
84 B
TypeScript
import { RRule } from "rrule";
|
|
let rule: RRule = new RRule({ freq: RRule.WEEKLY });
|