Skip to content

Commit

Permalink
Types
Browse files Browse the repository at this point in the history
  • Loading branch information
julienmalard committed Oct 6, 2024
1 parent b5162c0 commit 4028fd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/étapes/démo/GraphiqueStation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,13 @@ const donnéesCumul = computed(()=>{
return cumul;
})
const formatteurs: { [chiffre: string]: Ref<string> } = {};
const formatteurs: { [chiffre: string]: Ref<string|undefined> } = {};
const formatterChiffre = (x: number): string => {
if (!formatteurs[x.toString()]) {
formatteurs[x.toString()] = எண்ணை_வடிவூட்டு(x);
}
return formatteurs[x.toString()].value;
return formatteurs[x.toString()].value || x.toString();
};
// https://dev.to/muratkemaldar/using-vue-3-with-d3-composition-api-3h1g
Expand Down

0 comments on commit 4028fd7

Please sign in to comment.