Skip to content
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

Typescriptify the ClientFactory #186

Merged
merged 8 commits into from
Aug 7, 2020
Merged

Typescriptify the ClientFactory #186

merged 8 commits into from
Aug 7, 2020

Conversation

Half-Shot
Copy link
Contributor

No description provided.

@Half-Shot Half-Shot requested a review from a team August 4, 2020 11:01
@Half-Shot Half-Shot force-pushed the hs/ts-client-factory branch from 6e5e714 to 1508a27 Compare August 4, 2020 11:02
Copy link
Contributor

@jaller94 jaller94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good so far, but you've used any and the current linter config told me not to use it. Are we ok with some explicit anys?
I would be, but of course I would avoid them where possible.
Also, the linter seems to not allow any warnings, which is odd. We should allow warnings, and turn the rules to error if we actually want them to fail CI.

src/components/client-factory.ts Outdated Show resolved Hide resolved
src/components/client-factory.ts Outdated Show resolved Hide resolved
src/components/client-factory.ts Outdated Show resolved Hide resolved
src/components/client-factory.ts Outdated Show resolved Hide resolved
src/components/client-factory.ts Outdated Show resolved Hide resolved
src/components/client-factory.ts Outdated Show resolved Hide resolved
src/components/client-factory.ts Outdated Show resolved Hide resolved
src/components/client-factory.ts Outdated Show resolved Hide resolved
src/components/client-factory.ts Outdated Show resolved Hide resolved
src/components/client-factory.ts Outdated Show resolved Hide resolved
@@ -13,7 +13,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

module.exports.ClientFactory = require("./components/client-factory");
export * from "./components/client-factory";
Copy link
Contributor

@jaller94 jaller94 Aug 4, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do I need to do this for Intent in #185?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably yup, do the tests pass without it?

@Half-Shot Half-Shot requested a review from jaller94 August 6, 2020 17:13
Copy link
Contributor

@jaller94 jaller94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok

@jaller94 jaller94 merged commit 8c85b24 into develop Aug 7, 2020
@jaller94 jaller94 deleted the hs/ts-client-factory branch August 7, 2020 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants