Can Lovefield be imported into a Typescript Angular 2 project?

217 views
Skip to first unread message

Matt Langston

unread,
May 16, 2016, 11:21:42 PM5/16/16
to lovefield-users
I am seeing that there is a type definition file in the npm package; however, it does contains errors (due to es6-promise). I can't seem to import the lf module into my Typescript code like I did with some other external libraries using SystemJS. Am I missing something here?

Arthur Hsu

unread,
May 18, 2016, 9:44:48 PM5/18/16
to lovefield-users
I think you solved it? Shall we close the issue
https://github.com/google/lovefield/issues/152?

dpa...@chromium.org

unread,
May 19, 2016, 1:35:51 PM5/19/16
to lovefield-users
We should probably file a bug to update our todo_typescript example to work with whatever is the new way of pulling in TS definitions files, now that tsd is deprecated (or in the process of being deprecated), per https://github.com/DefinitelyTyped/tsd/issues/269.
Reply all
Reply to author
Forward
0 new messages