flowjs attributes code example
Example 1: flowjs attributes
function square (n: number) {
const result = n * n
}
Example 2: flowjs attributes
/* @flow */
function square (n: number) {
return n * n
}
const four = square(2)
function square (n: number) {
const result = n * n
}
/* @flow */
function square (n: number) {
return n * n
}
const four = square(2)