コンテンツにスキップ

変更履歴

Version 2.0.3

Patch Changes

  • #6439 7e4da4e Thanks @ematipico! - Fixed an issue where the correct rights aren’t added to the binary during publishing

  • #6297 cc4b8c9 Thanks @vladimir-ivanov! - Added a new lint useReadonlyClassProperties rule. This rule is a port of ESLint’s prefer-readonly rule.

    Example:

    class Example {
    // All properties below can be marked as readonly
    public constantValue = 42;
    protected initializedInConstructor: string;
    private privateField = true;
    constructor(initializedInConstructor: string) {
    this.initializedInConstructor = initializedInConstructor;
    }
    }