{"id":17061,"date":"2026-08-03T12:32:12","date_gmt":"2026-08-03T03:32:12","guid":{"rendered":"http:\/\/www.gisdeveloper.co.kr\/?p=17061"},"modified":"2026-08-03T12:33:57","modified_gmt":"2026-08-03T03:33:57","slug":"typescript-%ed%83%80%ec%9e%85%ec%9c%bc%eb%a1%9c%ec%8d%a8-%ea%b3%bc-object%ec%9d%98-%ec%b0%a8%ec%9d%b4%ec%a0%90","status":"publish","type":"post","link":"http:\/\/www.gisdeveloper.co.kr\/?p=17061","title":{"rendered":"TypeScript, \ud0c0\uc785\uc73c\ub85c\uc368 <code class=\"EnlighterJSRAW\" data-enlighter-language=\"typescript\">{}<\/code>\uacfc <code class=\"EnlighterJSRAW\" data-enlighter-language=\"typescript\">object<\/code>\uc758 \ucc28\uc774\uc810"},"content":{"rendered":"<p>\ud0c0\uc785\uc73c\ub85c\uc368 <code class=\"EnlighterJSRAW\" data-enlighter-language=\"typescript\">{}<\/code>\uc640 <code class=\"EnlighterJSRAW\" data-enlighter-language=\"typescript\">object<\/code>\ub97c \uad6c\ubd84\ud558\ub294 \uac83\uc740 \ud0c0\uc785\uc2a4\ud06c\ub9bd\ud2b8 \ud504\ub85c\uadf8\ub798\uba38\ub85c\uc368 \ub9e4\uc6b0 \ub9e4\uc6b0 \uc911\uc694\ud569\ub2c8\ub2e4.<\/p>\n<p>\uba3c\uc800 <code class=\"EnlighterJSRAW\" data-enlighter-language=\"typescript\">{}<\/code> \ud0c0\uc785\uc73c\ub85c \uc815\uc758\ub41c \ubcc0\uc218 \uac1d\uccb4\uc5d0\ub294 <code class=\"EnlighterJSRAW\" data-enlighter-language=\"typescript\">null<\/code>\uacfc <code class=\"EnlighterJSRAW\" data-enlighter-language=\"typescript\">undefined<\/code>\ub97c \uc81c\uc678\ud55c \ubaa8\ub4e0 \uac83\ub4e4\uc744 \ud560\ub2f9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. <code class=\"EnlighterJSRAW\" data-enlighter-language=\"typescript\">object<\/code> \ud0c0\uc785\uc73c\ub85c \uc815\uc758\ub41c \ubcc0\uc218 \uac1d\uccb4\uc5d0\ub294 \uc6d0\uc2dc\ud0c0\uc785 \uac12\uc744 \uc81c\uc678\ud55c \ubaa8\ub4e0 \uac83\ub4e4\uc744 \ud560\ub2f9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<p>\uc989, <code class=\"EnlighterJSRAW\" data-enlighter-language=\"typescript\">object<\/code> \ud0c0\uc785\uc73c\ub85c \uc120\uc5b8\ub41c \uc544\ub798\uc758 \uc608\uc81c \ucf54\ub4dc\ub97c \ucc38\uace0\ud558\uae30 \ubc14\ub78d\ub2c8\ub2e4.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"typescript\">\r\nlet obj: object;\r\n\r\nobj = {};\r\nobj = [];\r\nobj = new Date();\r\nobj = () => {};\r\nobj = \/abc\/;\r\n\r\nobj = 10;          \/\/ \uc624\ub958\r\nobj = \"hello\";     \/\/ \uc624\ub958\r\nobj = true;        \/\/ \uc624\ub958\r\nobj = Symbol();    \/\/ \uc624\ub958\r\nobj = BigInt(10);  \/\/ \uc624\ub958\r\n<\/pre>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"typescript\">{}<\/code> \ud0c0\uc785\uc73c\ub85c \uc120\uc5b8\ub41c \uc544\ub798\uc758 \uc608\uc81c \ucf54\ub4dc\ub3c4 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"typescript\">\r\nlet x: {};\r\n\r\nx = {};\r\nx = [];\r\nx = 10;\r\nx = \"hello\";\r\nx = true;\r\nx = () => {};\r\n\r\nx = null;          \/\/ \uc624\ub958\r\nx = undefined;     \/\/ \uc624\ub958\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\ud0c0\uc785\uc73c\ub85c\uc368 {}\uc640 object\ub97c \uad6c\ubd84\ud558\ub294 \uac83\uc740 \ud0c0\uc785\uc2a4\ud06c\ub9bd\ud2b8 \ud504\ub85c\uadf8\ub798\uba38\ub85c\uc368 \ub9e4\uc6b0 \ub9e4\uc6b0 \uc911\uc694\ud569\ub2c8\ub2e4. \uba3c\uc800 {} \ud0c0\uc785\uc73c\ub85c \uc815\uc758\ub41c \ubcc0\uc218 \uac1d\uccb4\uc5d0\ub294 null\uacfc undefined\ub97c \uc81c\uc678\ud55c \ubaa8\ub4e0 \uac83\ub4e4\uc744 \ud560\ub2f9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. object \ud0c0\uc785\uc73c\ub85c \uc815\uc758\ub41c \ubcc0\uc218 \uac1d\uccb4\uc5d0\ub294 \uc6d0\uc2dc\ud0c0\uc785 \uac12\uc744 \uc81c\uc678\ud55c \ubaa8\ub4e0 \uac83\ub4e4\uc744 \ud560\ub2f9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc989, object \ud0c0\uc785\uc73c\ub85c \uc120\uc5b8\ub41c \uc544\ub798\uc758 \uc608\uc81c \ucf54\ub4dc\ub97c \ucc38\uace0\ud558\uae30 \ubc14\ub78d\ub2c8\ub2e4. let obj: object; obj = {}; obj = []; &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/www.gisdeveloper.co.kr\/?p=17061\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;TypeScript, \ud0c0\uc785\uc73c\ub85c\uc368 <code class=\"EnlighterJSRAW\" data-enlighter-language=\"typescript\">{}<\/code>\uacfc <code class=\"EnlighterJSRAW\" data-enlighter-language=\"typescript\">object<\/code>\uc758 \ucc28\uc774\uc810&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[157],"tags":[],"class_list":["post-17061","post","type-post","status-publish","format-standard","hentry","category-typescript"],"_links":{"self":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/17061","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=17061"}],"version-history":[{"count":4,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/17061\/revisions"}],"predecessor-version":[{"id":17065,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/17061\/revisions\/17065"}],"wp:attachment":[{"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=17061"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=17061"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.gisdeveloper.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=17061"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}