Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 362 Bytes

idea_friendly.md

File metadata and controls

12 lines (9 loc) · 362 Bytes

IntelliJ IDEA friendly example

import SanctuaryMod = require('sanctuary/index');
import { SanctuaryModule } from 'sanctuary/sanctuary-types';

// help IDEA type, so we get all that sweet auto-completion
const S = (<SanctuaryModule>SanctuaryMod).create({checkTypes: false, env: SanctuaryMod.env});

console.log(S.add(1, 2));