MCPcopy
hub / github.com/prettier/prettier / J

Interface J

tests/format/flow/flow-repo/interface/test3.js:2–2  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1interface I { x: number, y : string }
2interface J { y : number }
3interface K extends I, J { x: string } // error: x is number in I
4function foo(k: K) {
5 (k.x: number); // error: x is string in K

Callers

nothing calls this directly

Implementers 15

Atests/format/flow/flow-repo/taint/tain
Atests/format/flow/flow-repo/super/supe
Ctests/format/flow/flow-repo/statics/cl
Atests/format/flow/flow-repo/class_meth
Atests/format/flow/flow-repo/multiflow/
Btests/format/flow/flow-repo/multiflow/
Ctests/format/flow/flow-repo/this_type/
Footests/format/js/empty-paren-comment/cl
Ctests/format/js/rest/trailing-commas.j
Dtests/format/js/rest/trailing-commas.j
C1tests/format/js/comments/function-decl
C2tests/format/js/comments/function-decl

Calls

no outgoing calls

Tested by

no test coverage detected