Skip to content

Conversation

@adumesny
Copy link
Member

@adumesny adumesny commented Jun 6, 2021

Description

  • changed the GridStack D7D methods to have
    func(this: gridStack,..)
    as first param, so we can get code-hint again when typing code...
  • but now we get warning about private method access,
    we can disable all checking with
    // @ts-nocheck
    which might be bit drastic.
  • or use // @ts-ignore instead for each line)

**** requires TS 3.7+ (was on 3.6.5 due to some packaging for older TS issues)

https://devblogs.microsoft.com/typescript/announcing-typescript-3-7/#ts-nocheck-in-typescript-files

Checklist

  • Created tests which fail without the change (if possible)
  • All tests passing (yarn test)
  • Extended the README / documentation, if necessary

* changed the GridStack D7D methods to have
func(this: gridStack,..)
as first param, so we can get code-hint again when typing code...
* but now we get warning about private method access,
we can disable all checking with
// @ts-nocheck
which might be bit drastic.
* or use // @ts-ignore instead for each line)

**** requires TS 3.7+ (was on 3.6.5 due to some packaging for older TS issues)

https://devblogs.microsoft.com/typescript/announcing-typescript-3-7/#ts-nocheck-in-typescript-files
@adumesny adumesny merged commit c0db179 into gridstack:master Jun 6, 2021
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.

1 participant