rspec/rules/S4136/rule.adoc

28 lines
406 B
Plaintext
Raw Permalink Normal View History

== Why is this an issue?
2020-06-30 12:49:37 +02:00
include::description.adoc[]
=== Noncompliant code example
[source,text]
----
interface MyInterface {
doTheThing(): number;
doTheOtherThing(): string;
doTheThing(str: string): string; // Noncompliant
}
----
=== Compliant solution
[source,text]
----
interface MyInterface {
doTheThing(): number;
doTheThing(str: string): string;
doTheOtherThing(): string;
}
----
2020-06-30 12:49:37 +02:00