-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeScript type definition file #42
Comments
I know... |
I get the following warnings and errors...
[with a clean clone].
$ bin/build_release_node
src/com/cognitect/transit/types.js:256: WARNING - Redeclared variable: eidx
eidx = eidx || (sidx+1);
^^^^^^^^^^^^^^^^^^^^^^^^
src/com/cognitect/transit/types.js:318: WARNING - Redeclared variable: s
var s = s.replace(/-/g, ""),
^^^^^^^^^^^^^^^^^^^^^^^^^^
deps/closure-library/closure/goog/html/sanitizer/csssanitizer_test.js:34:
ERROR - Variable isIE8 first declared in
deps/closure-library/closure/goog/html/sanitizer/unsafe_test.js
function isIE8() {
^^^^^
deps/closure-library/closure/goog/html/sanitizer/htmlsanitizer_test.js:41:
ERROR - Variable isIE8 first declared in
deps/closure-library/closure/goog/html/sanitizer/unsafe_test.js
function isIE8() {
^^^^^
deps/closure-library/closure/goog/html/sanitizer/htmlsanitizer_test.js:49:
ERROR - Variable isIE9 first declared in
deps/closure-library/closure/goog/html/sanitizer/unsafe_test.js
function isIE9() {
^^^^^
deps/closure-library/closure/goog/html/sanitizer/htmlsanitizer_test.js:61:
ERROR - Variable assertSanitizedHtml first declared in
deps/closure-library/closure/goog/html/sanitizer/unsafe_test.js
function assertSanitizedHtml(originalHtml, expectedHtml, opt_sanitizer) {
^^^^^^^^^^^^^^^^^^^
deps/closure-library/closure/goog/html/sanitizer/htmlsanitizer_test.js:1312:
ERROR - Variable just first declared in
deps/closure-library/closure/goog/html/sanitizer/unsafe_test.js
var just = goog.string.Const.from('test');
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5 error(s), 2 warning(s)
…On Fri, May 12, 2017 at 4:03 PM David Nolen ***@***.***> wrote:
@phreed <https://github.com/phreed> @kseo <https://github.com/kseo> I
finally found time to update the project so it can build again at least
locally. It would be nice to get some outside confirmation before we
proceed. Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAM6vF1_TJNRFFdrFEa7Z5Lkm6s-mp9xks5r5MkugaJpZM4MPX3U>
.
|
@phreed try now, I've updated all the build scripts to reflect the latest Closure CLI. |
great, it seems to build correctly, now to try it out.
…On Fri, May 19, 2017 at 2:59 PM David Nolen ***@***.***> wrote:
@phreed <https://github.com/phreed> try now, I've updated all the build
scripts to reflect the latest Closure CLI.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAM6vGZe1x-LYCiL3jbhAo34BKs-EtB_ks5r7fSugaJpZM4MPX3U>
.
|
The typings seem to be working but I am getting a bug in the execution.
...which in the Closure compiler converts into ./target/transit.js as...
In that context
I should mention this is in a Node.js context. |
@phreed Google Closure doesn't know about Node.js buffer, let me think about this some more. |
As an aside... |
No spec. Forgot to check the issue and realize I need to look into this Buffer issue, will do so tomorrow. |
@phreed can you please describe steps to reproduce that issue? I cannot reproduce it. |
I won't be in a position to check it out until Tuesday.
…On Fri, Sep 1, 2017 at 2:36 PM David Nolen ***@***.***> wrote:
@phreed <https://github.com/phreed> can you please describe steps to
reproduce that issue? I cannot reproduce it. goog.global is provided by
goog/base.js it should be defined.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAM6vI8kAQCOhRWwtvaVbVYlx0HfNfAiks5seE6ogaJpZM4MPX3U>
.
|
I am made a pull request #43 |
Adding a TypeScript type definition file for transit-js will be helpful for TypeScript developers.
The text was updated successfully, but these errors were encountered: