Fixes #123 Update to latest lib.d.ts from the 1.0.0 release