Bloc: VSCode Extension: cubit state template seems to have a typo

Created on 13 Oct 2020  路  1Comment  路  Source: felangel/bloc

Describe the bug
cubit state template seems to have a typo like below:

- const factory ${pascalCaseCubitName}State.inital() = _Initial;
+ const factory ${pascalCaseCubitName}State.initial() = _Initial;

https://github.com/felangel/bloc/blob/master/extensions/vscode/src/templates/cubit-state.template.ts#L53

To Reproduce
Generate new cubit with vscode bloc extension

Expected behavior
Fix it if need be.

bug extension

Most helpful comment

Hi @MasterHiei 馃憢
Thanks for opening an issue!

This has been fixed in #1822 and published in v5.3.1 馃帀

>All comments

Hi @MasterHiei 馃憢
Thanks for opening an issue!

This has been fixed in #1822 and published in v5.3.1 馃帀

Was this page helpful?
0 / 5 - 0 ratings