class X { foo = 2; bar /*: number*/ = 3; baz /*: ?string*/; }