-
Notifications
You must be signed in to change notification settings - Fork 519
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Outdated documentation links for tsetse errors #2367
Comments
The docs are in https://github.com/bazelbuild/rules_nodejs/tree/stable/third_party/github.com/bazelbuild/rules_typescript/docs Ideally tsetse should be a standalone project. |
Hmm it looks like I registered the tsetse.info domain under my alexeagle@google.com account which I no longer have. will take some research to figure out how to transfer it... |
Maybe someone can add documentation to the rules_typescript/docs for this rule in the meantime. That folder hasn't been updated in 2 years. |
This issue has been automatically marked as stale because it has not had any activity for 90 days. It will be closed if no further activity occurs in two weeks. Collaborators can add a "cleanup" or "need: discussion" label to keep it open indefinitely. Thanks for your contributions to rules_nodejs! |
I also start seeing it after migration to 5.1.0:
This diff helped: diff --git a/tools/node_tools/polygerrit_app_preprocessor/tsconfig.json b/tools/node_tools/polygerrit_app_preprocessor/tsconfig.json
index d3c7d1df13..384251b001 100644
--- a/tools/node_tools/polygerrit_app_preprocessor/tsconfig.json
+++ b/tools/node_tools/polygerrit_app_preprocessor/tsconfig.json
@@ -1,5 +1,13 @@
{
"compilerOptions": {
+ "plugins": [
+ {
+ "name": "@bazel/tsetse",
+ "disabledRules": [
+ "must-type-assert-json-parse"
+ ]
+ }
+ ],
"target": "es2019", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
"module": "es2015", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
"allowSyntheticDefaultImports": true,
|
I'd love to get tsetse up and running again, but I don't know of a path to get it to work with |
(I was the original author of this rule. Sorry for the missing documentation; one possible reason the documentation is missing is because Google internally removed this rule in favor of changing the return type of To fix this warning, do what the warning says: add a type assertion to the result of One rationale is because The second rationale is that Closure will happily rename accesses on It was difficult to detect all cases like |
馃悶 bug report
Affected Rule
The issue is caused by the rule: ts_libraryIs this a regression?
Yes, the previous version in which this bug was not present was: Presumably the links worked at some pointDescription
After v3.0.0 upgrade, I started getting errors like:A google search for
TS21231
doesn't turn up anything relevant high in the results. So I'm at a dead end looking for the documentation.馃敩 Minimal Reproduction
Attempt to load http://tsetse.info/must-type-assert-json-parse
馃敟 Exception or Error
馃實 Your Environment
Operating System:
Output of
bazel version
:Rules_nodejs version:
(Please check that you have matching versions between WORKSPACE file and
@bazel/*
npm packages.)Anything else relevant?
The text was updated successfully, but these errors were encountered: