Skip to content

Conversation

@seanpoulter
Copy link
Contributor

@seanpoulter seanpoulter commented Mar 25, 2024

Description

This is a small PR that adds TypeScript to check types in JavaScript. There are more rules to configure and fix (later).

Checklist

  • Unit/Integration test added (if applicable)
  • Documentation added/updated (wiki or md)
  • Code style is consistent with the rest of the project

Copy link
Collaborator

@christian-bromann christian-bromann left a comment

Choose a reason for hiding this comment

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

Let's make sure this not convolutes the effort going on in #126 .. I don't want to cause unnecessary conflicts.

@@ -1,5 +1,5 @@
import { expect } from 'chai';
import path from 'path';
import * as path from 'path';
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would be against having to do default imports like this, and keeping it like this instead:

Suggested change
import * as path from 'path';
import path from 'path';

@seanpoulter
Copy link
Contributor Author

Let's make sure this not convolutes the effort going on in #126 .. I don't want to cause unnecessary conflicts.

Oh, right, I forgot about that. I pushed my changes from a WIP branch. I'll close it.

@seanpoulter seanpoulter deleted the tsc branch March 25, 2024 16:42
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