mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-12 08:05:12 +08: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 });
|