mirror of
https://github.com/cfngc4594/monaco-editor-lsp-next.git
synced 2025-05-18 23:42:24 +00:00
17 lines
413 B
TypeScript
17 lines
413 B
TypeScript
import { SupportedLanguage } from "@/constants/language";
|
|
|
|
export const DEFAULT_EDITOR_VALUE: Record<SupportedLanguage, string> = {
|
|
c: `/**
|
|
* Note: The returned array must be malloced, assume caller calls free().
|
|
*/
|
|
int* twoSum(int* nums, int numsSize, int target, int* returnSize) {
|
|
|
|
}`,
|
|
cpp: `class Solution {
|
|
public:
|
|
vector<int> twoSum(vector<int>& nums, int target) {
|
|
|
|
}
|
|
};`,
|
|
};
|