Closed alexnix closed 8 years ago
When using ES6 syntax you cannot import this module like: import rfc6902 from 'rfc6902';
import rfc6902 from 'rfc6902';
instead you have to use: let rfc6902 = require('rfc6902');
let rfc6902 = require('rfc6902');
Figured it out... one can use:
import { applyPatch, createPatch } from 'rfc6902';
When using ES6 syntax you cannot import this module like:
import rfc6902 from 'rfc6902';
instead you have to use:
let rfc6902 = require('rfc6902');