Fixed declaration type
Merge pull request #2662 from karakurihiden/2.0.0-declaration

Fixed declaration error