MCPcopy
hub / github.com/prettier/prettier / A

Class A

tests/format/flow/flow-repo/taint/taint3.js:5–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3 * @flow
4 */
5class A {
6 f(tainted : $Tainted<string>) {
7 // The Tainted annotation should still flow.
8 var safe = tainted;
9 // This should give a warning.
10 var loc : string = safe;
11 }
12}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected