facebook / facebook/flow

Improve docs about /* @flow */ and cross-link in User Guide

Abierto
#1,456 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Needs docs
Lenguaje dominante
Rust
Estrellas
22.3k
Forks
1.9k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I have some code with running flow server. `flow` gives as response `No errors!` when i add the following code to the file:

``` javascript
// ... some code
/* @flow */
function add(num1, num2) {
return num1 + num2;
}
var x = add(3, '0');
console.log(x);
// ... some code
```

Running `flow` still gives back `No errors!`. Running `flow check` gives back `Found 0 errors`
running `flow check --all` does echo the errors (among others ofcourse). Is this normal behavior (I started experimenting with flowtype)?

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.