{"version":3,"sources":["../src/string/firstUpper.ts"],"names":["firstUpper","str"],"mappings":";;;;AAWO,SAASA,CAAAA,CAAWC,EAAY,CACnC,OAAOA,EAAI,MAAO,CAAA,CAAC,CAAE,CAAA,WAAA,EAAcA,CAAAA,CAAAA,CAAI,UAAU,CAAC,CACtD,CAEA,MAAA,CAAO,SAAU,CAAA,UAAA,CAAY,UAAuB,CAChD,OAAOD,CAAW,CAAA,IAAI,CAC1B,CAAA","file":"chunk-5RE6MCC4.mjs","sourcesContent":["\ndeclare global {\n    interface String {\n        firstUpper(): string;\n    }\n}\n\n/**\n * 首字母大写\n * @constructor\n */\nexport function firstUpper(str:string) {\n    return str.charAt(0).toUpperCase()+str.substring(1)\n} \n\nString.prototype.firstUpper= function (this:string) {\n    return firstUpper(this)\n}\n"]}