set `typeNumber` to -1 as default,
which will be replaced by the smallest valid type number

Signed-off-by: Gerald <gera2ld@163.com>