mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-17 19:52:23 +08:00
More explicit typing for test case examples.
This commit is contained in:
@@ -135,8 +135,8 @@ new Chartist.Bar('.ct-chart', {
|
||||
// Default mobile configuration
|
||||
stackBars: true,
|
||||
axisX: {
|
||||
labelInterpolationFnc: function(value) {
|
||||
return value.split(/\s+/).map(function(word) {
|
||||
labelInterpolationFnc: function(value: string) {
|
||||
return value.split(/\s+/).map(function(word: string) {
|
||||
return word[0];
|
||||
}).join('');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user