Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Commit

Permalink
Merge pull request #702 from palantir/deprecate-abstract
Browse files Browse the repository at this point in the history
Add deprecation notice to Lint.abstract()
  • Loading branch information
adidahiya committed Sep 30, 2015
2 parents e92d984 + ba2be22 commit 15ba378
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/language/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ module Lint {
}

export function abstract() {
console.warn("Lint.abstract() is deprecated and will be removed in a future release. TSLint now uses abstract classes.");
return "abstract method not implemented";
}

Expand Down

0 comments on commit 15ba378

Please sign in to comment.